summaryrefslogtreecommitdiffstats
path: root/src/projectfilesdlg.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-05-26 01:30:17 +0200
committerSlávek Banko <[email protected]>2020-05-26 01:30:17 +0200
commit5004b40e99036a0d9346dba6b5e6a4553de5a65e (patch)
treed7f9d99920bfff3b4a5719446ead1c3951ec5399 /src/projectfilesdlg.cpp
parent8bc51aef53e4d9de236ca4f19806b32da1cc0525 (diff)
downloadkscope-5004b40e99036a0d9346dba6b5e6a4553de5a65e.tar.gz
kscope-5004b40e99036a0d9346dba6b5e6a4553de5a65e.zip
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. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/projectfilesdlg.cpp')
-rw-r--r--src/projectfilesdlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/projectfilesdlg.cpp b/src/projectfilesdlg.cpp
index 3c9cf2b..a353e5a 100644
--- a/src/projectfilesdlg.cpp
+++ b/src/projectfilesdlg.cpp
@@ -201,7 +201,7 @@ void ProjectFilesDlg::customEvent(TQCustomEvent* pEvent)
}
// Prompt the user for the files to add
- sMsg.sprintf(i18n("Would you like to add %d files to your project?"),
+ sMsg.sprintf(i18n("Would you like to add %d files to your project?").utf8(),
pDSE->m_nFiles);
if (KMessageBox::questionYesNo(0, sMsg) == KMessageBox::No)
return;