From 040ec7cefd3e3409b9939c603d3e631d78cd4826 Mon Sep 17 00:00:00 2001 From: OmegaPhil Date: Wed, 12 Nov 2014 16:17:25 +0000 Subject: 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 --- src/modules/theme/ThemeManagementDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/theme/ThemeManagementDialog.cpp') 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; -- cgit v1.3.1-10-gc9f91