diff --git a/plugins.cpp b/plugins.cpp index 6da545963a..1f8c8a6edd 100644 --- a/plugins.cpp +++ b/plugins.cpp @@ -22,9 +22,6 @@ Copyright (C) 1999, 2000 Daniel M. Duley using namespace KWinInternal; -const char* defaultPlugin = (QPixmap::defaultDepth() > 8) ? - "kwin_keramik" : "kwin_quartz"; - PluginMgr::PluginMgr() : QObject() @@ -33,6 +30,8 @@ PluginMgr::PluginMgr() old_create_ptr = NULL; library = 0; pluginStr = "kwin_undefined"; + defaultPlugin = (QPixmap::defaultDepth() > 8) ? + "kwin_keramik" : "kwin_quartz"; KConfig *config = KGlobal::config(); config->setGroup("Style"); diff --git a/plugins.h b/plugins.h index 67e6c44841..54d43860b8 100644 --- a/plugins.h +++ b/plugins.h @@ -37,6 +37,7 @@ protected: Client* (*old_create_ptr)(Workspace *ws, WId w, int tool); KLibrary *library; QString pluginStr; + QCString defaultPlugin; }; };