diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-10-22 04:14:01 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-10-22 18:43:15 +0200 |
commit | 43addd52a72ee12615d4aa64774d94c0e37566dd (patch) | |
tree | e960b66daedbd0ff69a4ee0a4a1a20cfabbdaa81 /src/timingwidget.cpp | |
parent | 83fb5c2a160acd743fe6beab0dca68a5ad8faf21 (diff) | |
download | knmap-43addd52a72ee12615d4aa64774d94c0e37566dd.tar.gz knmap-43addd52a72ee12615d4aa64774d94c0e37566dd.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>
(cherry picked from commit 5615796c0a10d5068dfb61ecbfbb9ab048ae63cd)
Diffstat (limited to 'src/timingwidget.cpp')
-rw-r--r-- | src/timingwidget.cpp | 8 |
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; } |