summaryrefslogtreecommitdiffstats
path: root/kdecore
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore')
-rw-r--r--kdecore/kiconloader.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/kdecore/kiconloader.cpp b/kdecore/kiconloader.cpp
index 91992f929..e460e5d41 100644
--- a/kdecore/kiconloader.cpp
+++ b/kdecore/kiconloader.cpp
@@ -106,7 +106,11 @@ struct KIconGroup
bool alphaBlending;
};
-#define KICONLOADER_CHECKS
+// WARNING
+// Enabling this in production will cause a massive slowdown of (and a related memory leak in)
+// any application that creates and destroys large numbers of KIconLoader instances
+//#define KICONLOADER_CHECKS
+
#ifdef KICONLOADER_CHECKS
// Keep a list of recently created and destroyed KIconLoader instances in order
// to detect bugs like #68528.