diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-10-17 21:34:04 -0500 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-12-23 02:22:31 +0100 |
commit | 630a9a81aea1dcc2ffe8d3fbbdbc332de514903c (patch) | |
tree | 64176f4f3ac65d7569adfdaf7898f455626b7db7 /kdecore | |
parent | 003a8dd1c60d91e1edc13470479dad9099866e7a (diff) | |
download | tdelibs-630a9a81aea1dcc2ffe8d3fbbdbc332de514903c.tar.gz tdelibs-630a9a81aea1dcc2ffe8d3fbbdbc332de514903c.zip |
Disable constant generation of backtraces in TDEIconLoader
This relates to Bug 1674
(cherry picked from commit cced03e1d481e26d12b65e7929dfd650e4be571c)
Diffstat (limited to 'kdecore')
-rw-r--r-- | kdecore/kiconloader.cpp | 6 |
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. |