diff options
author | Slávek Banko <[email protected]> | 2018-10-22 04:14:01 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-10-22 04:15:35 +0200 |
commit | 5615796c0a10d5068dfb61ecbfbb9ab048ae63cd (patch) | |
tree | b56f944df027ed4bbb0531a85e57986382cb79bd /src/mainwidget.cpp | |
parent | 45e95597267482ddb1023b33ebeeb50597d91508 (diff) | |
download | knmap-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 <[email protected]>
Diffstat (limited to 'src/mainwidget.cpp')
-rw-r--r-- | src/mainwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwidget.cpp b/src/mainwidget.cpp index a6edc9d..42b7465 100644 --- a/src/mainwidget.cpp +++ b/src/mainwidget.cpp @@ -435,7 +435,7 @@ void MainWidget::slotWrapText( ) void MainWidget::slotZoomCustom( ) { bool ok; int zoom = KInputDialog::getInteger( i18n( "Zoom percentage" ), - i18n( TQString( "Enter zoom %'age (%1% - %2%)").arg( ZOOM_MIN_FACTOR ).arg( ZOOM_MAX_FACTOR)), + i18n( "Enter zoom %'age (%1% - %2%)" ).arg( ZOOM_MIN_FACTOR ).arg( ZOOM_MAX_FACTOR), int( m_htmlWidget->zoomFactor( )), ZOOM_MIN_FACTOR, ZOOM_MAX_FACTOR, |