summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-01-17 00:55:22 +0000
committerCarl Hetherington <cth@carlh.net>2018-01-17 00:55:22 +0000
commitb3f90d7569cfd376e883f1865f0702be9a7a8ef1 (patch)
treecb93529db8eea0e34d56eac2022df4363b465a1e /src
parent34f4731ae732f2d4ae00152c0fb26da16458582f (diff)
Remove some debug code.
Diffstat (limited to 'src')
-rw-r--r--src/wx/content_sub_panel.cc21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/wx/content_sub_panel.cc b/src/wx/content_sub_panel.cc
index 781d3b330..e0e0cd12b 100644
--- a/src/wx/content_sub_panel.cc
+++ b/src/wx/content_sub_panel.cc
@@ -44,18 +44,6 @@ ContentSubPanel::ContentSubPanel (ContentPanel* p, wxString name)
void
ContentSubPanel::setup_refer_button (wxCheckBox* button, shared_ptr<DCPContent> dcp, bool can_reference, list<string> why_not) const
{
- /* XXX: just for debugging */
- if (dcp) {
- dcp->film()->log()->log (
- String::compose (
- "setup_refer_button for %1; %2 %3",
- dcp->path(0).string(),
- int(can_reference),
- int(why_not.size())),
- LogEntry::TYPE_GENERAL
- );
- }
-
button->Enable (can_reference);
wxString s;
@@ -68,14 +56,5 @@ ContentSubPanel::setup_refer_button (wxCheckBox* button, shared_ptr<DCPContent>
}
}
- /* XXX: more debugging */
- if (dcp) {
- if (!s.IsEmpty()) {
- dcp->film()->log()->log (String::compose ("setting tooltip to %1", wx_to_std (s)), LogEntry::TYPE_GENERAL);
- } else {
- dcp->film()->log()->log ("clearing tooltip", LogEntry::TYPE_GENERAL);
- }
- }
-
button->SetToolTip (s);
}