summaryrefslogtreecommitdiffstats
path: root/src/gui/numberfieldwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/numberfieldwidget.cpp')
-rw-r--r--src/gui/numberfieldwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/numberfieldwidget.cpp b/src/gui/numberfieldwidget.cpp
index 0284e84..3893f08 100644
--- a/src/gui/numberfieldwidget.cpp
+++ b/src/gui/numberfieldwidget.cpp
@@ -42,7 +42,7 @@ void NumberFieldWidget::initLineEdit() {
// regexp is any number of digits followed optionally by any number of
// groups of a semi-colon followed optionally by a space, followed by digits
TQRegExp rx(TQString::fromLatin1("-?\\d*(; ?-?\\d*)*"));
- m_lineEdit->setValidator(new TQRegExpValidator(rx, TQT_TQOBJECT(this)));
+ m_lineEdit->setValidator(new TQRegExpValidator(rx, this));
}
void NumberFieldWidget::initSpinBox() {