aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/theme/SaveThemeDialog.cpp
diff options
context:
space:
mode:
authorGravatar Elvio Basello2011-01-10 18:36:59 +0000
committerGravatar Elvio Basello2011-01-10 18:36:59 +0000
commit78735b180c2ba56fa1cf4fd578726d457626e80a (patch)
tree12b359e1e59b7585dc89878e2eeae54982baa4e1 /src/modules/theme/SaveThemeDialog.cpp
parentupdated perlcore's xs include, hopefully fixing #1068 (diff)
downloadKVIrc-78735b180c2ba56fa1cf4fd578726d457626e80a.tar.gz
KVIrc-78735b180c2ba56fa1cf4fd578726d457626e80a.tar.bz2
KVIrc-78735b180c2ba56fa1cf4fd578726d457626e80a.zip
killed some QString helpers. Pay attention to the localizations: format strings have changed!;
updated translation files; git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5328 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/theme/SaveThemeDialog.cpp')
-rw-r--r--src/modules/theme/SaveThemeDialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/theme/SaveThemeDialog.cpp b/src/modules/theme/SaveThemeDialog.cpp
index 388f7b163..6c4e0e9d7 100644
--- a/src/modules/theme/SaveThemeDialog.cpp
+++ b/src/modules/theme/SaveThemeDialog.cpp
@@ -276,9 +276,8 @@ bool SaveThemeDialog::saveTheme()
if(!KviTheme::save(sto))
{
- QString szMsg2;
QString szErr = sto.lastError();
- KviQString::sprintf(szMsg2,__tr2qs_ctx("Unable to save theme: %Q","theme"),&szErr);
+ QString szMsg2 = QString(__tr2qs_ctx("Unable to save theme: %1","theme")).arg(szErr);
QMessageBox::critical(this,__tr2qs_ctx("Save Current Theme - KVIrc","theme"),szMsg2,
QMessageBox::Ok,QMessageBox::NoButton,QMessageBox::NoButton);
return false;