From 5cad60063799de1846011f1fd5c6023166df9d28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 26 May 2020 01:30:17 +0200 Subject: Fix missing or incorrect ascii conversions when retrieving process output. 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 (cherry picked from commit 5004b40e99036a0d9346dba6b5e6a4553de5a65e) --- src/scanprogressdlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scanprogressdlg.cpp') diff --git a/src/scanprogressdlg.cpp b/src/scanprogressdlg.cpp index 52dcf08..28708fa 100644 --- a/src/scanprogressdlg.cpp +++ b/src/scanprogressdlg.cpp @@ -73,7 +73,7 @@ void ScanProgressDlg::addFiles(int nFiles) // Update progress only if more than 100 files were scanned since the last // update if ((m_nFiles - m_nCurFiles) > 100) { - sText.sprintf(i18n("Scanned %d files..."), m_nFiles); + sText.sprintf(i18n("Scanned %d files...").utf8(), m_nFiles); m_pText->setText(sText); m_nCurFiles = m_nFiles; } -- cgit v1.2.1