Disable constant generation of backtraces in TDEIconLoader

This relates to Bug 1674
(cherry picked from commit cced03e1d4)
v3.5.13-sru
Timothy Pearson 11 years ago committed by Slávek Banko
parent 003a8dd1c6
commit 630a9a81ae

@ -106,7 +106,11 @@ struct KIconGroup
bool alphaBlending; 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 #ifdef KICONLOADER_CHECKS
// Keep a list of recently created and destroyed KIconLoader instances in order // Keep a list of recently created and destroyed KIconLoader instances in order
// to detect bugs like #68528. // to detect bugs like #68528.

Loading…
Cancel
Save