summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/views')
-rw-r--r--kmymoney2/views/kmymoneyview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmymoney2/views/kmymoneyview.cpp b/kmymoney2/views/kmymoneyview.cpp
index 6932a1b..daaaaf8 100644
--- a/kmymoney2/views/kmymoneyview.cpp
+++ b/kmymoney2/views/kmymoneyview.cpp
@@ -254,7 +254,7 @@ KMyMoneyView::KMyMoneyView(TQWidget *parent, const char *name)
m_forecastView = new KForecastView(m_forecastViewFrame, "ForecastView");
// get rid of the title text
- TQWidget* widget = dynamic_cast<TQWidget*>(child("KJanusWidgetTitleLabel", TQLABEL_OBJECT_NAME_STRING));
+ TQWidget* widget = dynamic_cast<TQWidget*>(child("KJanusWidgetTitleLabel", "TQLabel"));
if(widget)
widget->hide();