From 9b14b06c3b66f6ea3ebc8aff19a51a83a2f42797 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sat, 8 May 2010 18:07:27 +0000 Subject: fixed infinite loop on corrupted theme installation (could cause a problem with themes containing empty files) fixed theme error reporting git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4311 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/theme/themefunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/theme/themefunctions.cpp b/src/modules/theme/themefunctions.cpp index cc6963e55..c91760f3a 100644 --- a/src/modules/theme/themefunctions.cpp +++ b/src/modules/theme/themefunctions.cpp @@ -293,7 +293,7 @@ namespace KviThemeFunctions { QString szErr2 = r.lastError(); KviQString::sprintf(szError,__tr2qs_ctx("Failed to unpack the selected file: %Q","theme"),&szErr2); - return true; + return false; } } -- cgit v1.3.1-10-gc9f91