summaryrefslogtreecommitdiffstats
path: root/src/gui/numberfieldwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-14 21:19:13 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-15 00:30:59 +0900
commit3d581777cdf9c0ff8dc7e757a2cd576f69e96b51 (patch)
treed7ec6ca39a46ae475336025d1c11e27fe23a47e8 /src/gui/numberfieldwidget.cpp
parent10996a19ed32a39c2177936026b798cae63e01bd (diff)
downloadtellico-3d581777cdf9c0ff8dc7e757a2cd576f69e96b51.tar.gz
tellico-3d581777cdf9c0ff8dc7e757a2cd576f69e96b51.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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() {