Disable the glib event loop integration, since it seems to be responsible

for several bug reports about high CPU usage.

CCBUG: 239963

svn path=/trunk/KDE/kdebase/workspace/; revision=1137645
icc-effect-5.14.5
Fredrik Höglund 2010-06-13 20:22:50 +00:00
parent cf3bcc6294
commit cf0f0cb325
1 changed files with 4 additions and 0 deletions

View File

@ -501,6 +501,10 @@ KDE_EXPORT int kdemain( int argc, char * argv[] )
// HACK: this is needed to work around a Qt4.4.0RC1 bug (#157659)
setenv( "QT_SLOW_TOPLEVEL_RESIZE", "1", true );
// Disable the glib event loop integration, since it seems to be responsible
// for several bug reports about high CPU usage (bug #239963)
setenv( "QT_NO_GLIB", "1", true );
org::kde::KSMServerInterface ksmserver( "org.kde.ksmserver", "/KSMServer", QDBusConnection::sessionBus());
ksmserver.suspendStartup( "kwin" );
KWin::Application a;