diff options
| author | 2014-11-12 16:17:25 +0000 | |
|---|---|---|
| committer | 2014-11-12 16:17:25 +0000 | |
| commit | 040ec7cefd3e3409b9939c603d3e631d78cd4826 (patch) | |
| tree | e454717ca12b274168ecc72a52f056003a91ec98 /src/modules/theme/ThemeManagementDialog.cpp | |
| parent | Fix cmake overriding custom debug build flags, minor typo and grammar fixes (diff) | |
| download | KVIrc-040ec7cefd3e3409b9939c603d3e631d78cd4826.tar.gz KVIrc-040ec7cefd3e3409b9939c603d3e631d78cd4826.tar.bz2 KVIrc-040ec7cefd3e3409b9939c603d3e631d78cd4826.zip | |
Actually allow a user to delete a theme without segfaulting...
Fixes #1307 / https://svn.kvirc.de/kvirc/ticket/1307
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6395 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/theme/ThemeManagementDialog.cpp')
| -rw-r--r-- | src/modules/theme/ThemeManagementDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/theme/ThemeManagementDialog.cpp b/src/modules/theme/ThemeManagementDialog.cpp index 9f7160cda..4778b75ad 100644 --- a/src/modules/theme/ThemeManagementDialog.cpp +++ b/src/modules/theme/ThemeManagementDialog.cpp @@ -391,7 +391,7 @@ void ThemeManagementDialog::deleteTheme() if(!KviMessageBox::yesNo( __tr2qs_ctx("Delete Theme - KVIrc","theme"), __tr2qs_ctx("Do you really wish to delete theme \"%Q\" (version %Q)?","theme"), - pInfo->name().toUtf8().data(),pInfo->version().toUtf8().data()) + &(pInfo->name()), &(pInfo->version())) ) goto jump_out; |
