diff options
Diffstat (limited to 'src/gui/numberfieldwidget.cpp')
-rw-r--r-- | src/gui/numberfieldwidget.cpp | 2 |
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() { |