summaryrefslogtreecommitdiffstats
path: root/src/timingwidget.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-10-22 04:14:01 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-10-22 04:15:35 +0200
commit5615796c0a10d5068dfb61ecbfbb9ab048ae63cd (patch)
treeb56f944df027ed4bbb0531a85e57986382cb79bd /src/timingwidget.cpp
parent45e95597267482ddb1023b33ebeeb50597d91508 (diff)
downloadknmap-5615796c0a10d5068dfb61ecbfbb9ab048ae63cd.tar.gz
knmap-5615796c0a10d5068dfb61ecbfbb9ab048ae63cd.zip
Fix incorrect use of TQString() inside i18n().
Added controlled conversions to char* instead of automatic ascii conversions. The definition of -UTQT_NO_ASCII_CAST is no longer needed. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/timingwidget.cpp')
-rw-r--r--src/timingwidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/timingwidget.cpp b/src/timingwidget.cpp
index 4cdb218..dcb8107 100644
--- a/src/timingwidget.cpp
+++ b/src/timingwidget.cpp
@@ -253,22 +253,22 @@ bool TimingWidget::getOptions( )
uint scanDelayValue = m_scanDelayLineEdit->text( ).toUInt( );
if( minHostGroupValue > maxHostGroupValue )
- { KMessageBox::error( this, i18n( TQString( "Min host group not < Max host group" )), i18n( "Host group error" ));
+ { KMessageBox::error( this, i18n( "Min host group not < Max host group" ), i18n( "Host group error" ));
return false;
}
if( minParallelismValue > maxParallelismValue )
- { KMessageBox::error( this, i18n( TQString( "Min parallelism not < Max parallelism" )), i18n( "Parallelism error" ));
+ { KMessageBox::error( this, i18n( "Min parallelism not < Max parallelism" ), i18n( "Parallelism error" ));
return false;
}
if( minRTTTimeoutValue > maxRTTTimeoutValue )
- { KMessageBox::error( this, i18n( TQString( "Min RTT timeout not < Max RTT timeout" )), i18n( "RTT timeout error" ));
+ { KMessageBox::error( this, i18n( "Min RTT timeout not < Max RTT timeout" ), i18n( "RTT timeout error" ));
return false;
}
if( scanDelayValue > maxScanDelayValue )
- { KMessageBox::error( this, i18n( TQString( "Min scan delay not < Max scan delay" )), i18n( "Scan delay error" ));
+ { KMessageBox::error( this, i18n( "Min scan delay not < Max scan delay" ), i18n( "Scan delay error" ));
return false;
}