summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/reports/kexireportfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/reports/kexireportfactory.cpp')
-rw-r--r--kexi/plugins/reports/kexireportfactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/plugins/reports/kexireportfactory.cpp b/kexi/plugins/reports/kexireportfactory.cpp
index f45b30bf..dfa8d0d0 100644
--- a/kexi/plugins/reports/kexireportfactory.cpp
+++ b/kexi/plugins/reports/kexireportfactory.cpp
@@ -180,7 +180,7 @@ KexiReportFactory::changeText(const TQString &text)
TQWidget *w = WidgetFactory::m_widget;
changeProperty("text", text, m_container);
- int width = w->tqsizeHint().width();
+ int width = w->sizeHint().width();
if(w->width() < width)
w->resize(width, w->height() );
@@ -212,7 +212,7 @@ KexiReportFactory::editText()
}
if(classname == "Label")
- m_widget->resize(m_widget->tqsizeHint());
+ m_widget->resize(m_widget->sizeHint());
}
bool