summaryrefslogtreecommitdiffstats
path: root/src/modules/options/optw_servers.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-08 13:26:11 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-08 13:41:44 +0900
commiteab2995851748c44d333fe168a1c141ccee193ab (patch)
tree980cdffc97ce11d6c5c78079da55c4275f2e34b2 /src/modules/options/optw_servers.cpp
parent236b93c7266b84269b4be5841d8575b5f3432065 (diff)
downloadkvirc-eab2995851748c44d333fe168a1c141ccee193ab.tar.gz
kvirc-eab2995851748c44d333fe168a1c141ccee193ab.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/modules/options/optw_servers.cpp')
-rw-r--r--src/modules/options/optw_servers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/options/optw_servers.cpp b/src/modules/options/optw_servers.cpp
index 1e465947..adca6260 100644
--- a/src/modules/options/optw_servers.cpp
+++ b/src/modules/options/optw_servers.cpp
@@ -138,7 +138,7 @@ KviNetworkDetailsWidget::KviNetworkDetailsWidget(TQWidget * par,KviIrcNetwork *
l = new TQLabel(__tr2qs_ctx("Nickname:","options"),gbox);
m_pNickEditor = new TQLineEdit(gbox);
- TQValidator * v = new TQRegExpValidator(TQRegExp("[^-0-9 ][^ ]*","options"),TQT_TQOBJECT(gbox));
+ TQValidator * v = new TQRegExpValidator(TQRegExp("[^-0-9 ][^ ]*","options"),gbox);
m_pNickEditor->setValidator(v);
m_pNickEditor->setText(n->nickName());
#ifdef COMPILE_INFO_TIPS
@@ -497,7 +497,7 @@ KviServerDetailsWidget::KviServerDetailsWidget(TQWidget * par,KviIrcServer * s)
l = new TQLabel(__tr2qs_ctx("Nickname:","options"),gbox);
m_pNickEditor = new TQLineEdit(gbox);
- TQValidator * v = new TQRegExpValidator(TQRegExp("[^-0-9 ][^ ]*"),TQT_TQOBJECT(gbox));
+ TQValidator * v = new TQRegExpValidator(TQRegExp("[^-0-9 ][^ ]*"),gbox);
m_pNickEditor->setValidator(v);
m_pNickEditor->setText(s->nickName());
#ifdef COMPILE_INFO_TIPS