aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2015-10-04 01:53:40 +0200
committerGravatar Szymon Tomasz Stefanek2015-10-04 01:53:40 +0200
commite352609a5f6da7f36fdb0451203a8568ccf2aca0 (patch)
tree46ea1ebf586287fce8c2ac1e4e40ab66ec527d2e
parentMerge pull request #1638 from Cizzle/master (diff)
downloadKVIrc-e352609a5f6da7f36fdb0451203a8568ccf2aca0.tar.gz
KVIrc-e352609a5f6da7f36fdb0451203a8568ccf2aca0.tar.bz2
KVIrc-e352609a5f6da7f36fdb0451203a8568ccf2aca0.zip
Fix #1643
-rw-r--r--src/kvirc/kernel/KviIconManager.cpp6
-rw-r--r--src/kvirc/kernel/KviOptions.cpp2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/kvirc/kernel/KviIconManager.cpp b/src/kvirc/kernel/KviIconManager.cpp
index 2805d6a0a..d50873b5c 100644
--- a/src/kvirc/kernel/KviIconManager.cpp
+++ b/src/kvirc/kernel/KviIconManager.cpp
@@ -414,9 +414,9 @@ static const char * g_szIconNames[KviIconManager::IconCount] =
"handily", // 328
"thumbdown", // 329
"thumbup", // 330
- "facepalm" // 331
- "identity" // 332
- "nickpopup" // 333
+ "facepalm", // 331
+ "identity", // 332
+ "nickpopup", // 333
"tools" // 334
};
diff --git a/src/kvirc/kernel/KviOptions.cpp b/src/kvirc/kernel/KviOptions.cpp
index ee0560aa5..5f00b7968 100644
--- a/src/kvirc/kernel/KviOptions.cpp
+++ b/src/kvirc/kernel/KviOptions.cpp
@@ -1124,6 +1124,7 @@ namespace KviTheme
if(!KviFileUtils::copyFile(p->path(),szPixPath))
{
+ qDebug("Failed to copy file %s into %s",p->path().toUtf8().data(),szPixPath.toUtf8().data());
options.setLastError(__tr2qs("Failed to save one of the theme images"));
return false;
}
@@ -1153,6 +1154,7 @@ namespace KviTheme
if(!pix->save(szPixPath,"PNG",90))
{
+ qDebug("Failed to save small icon %d into %s",j,szPixPath.toUtf8().data());
options.setLastError(__tr2qs("Failed to save one of the theme images"));
return false;
}