From 5615796c0a10d5068dfb61ecbfbb9ab048ae63cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= 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/mainwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainwidget.cpp') 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, -- cgit v1.2.1