From 5615796c0a10d5068dfb61ecbfbb9ab048ae63cd Mon Sep 17 00:00:00 2001 From: Slávek Banko Date: Mon, 22 Oct 2018 04:14:01 +0200 Subject: 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. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/timingwidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/timingwidget.cpp') 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; } -- cgit v1.2.3