diff --git a/options.cpp b/options.cpp index 12a4eafdad..c7386ff844 100644 --- a/options.cpp +++ b/options.cpp @@ -45,8 +45,6 @@ Options::Options() for(i=0; i < KWINCOLORS*2; ++i) cg[i] = NULL; reload(); - - connect( kapp, SIGNAL( appearanceChanged() ), this, SLOT(reload() ) ); } Options::~Options(){ diff --git a/options.h b/options.h index 80ef6abe03..a824fc04d5 100644 --- a/options.h +++ b/options.h @@ -320,6 +320,8 @@ public: */ int electricBorderDelay(); + void reload(); + signals: /** * Emitted when KWin is asked to reconfigure itself. @@ -330,17 +332,10 @@ signals: */ void resetClients(); -public slots: - void reload(); - - protected: QFont activeFont, inactiveFont, activeFontSmall, inactiveFontSmall; private: - - - WindowOperation OpTitlebarDblClick; // mouse bindings diff --git a/workspace.cpp b/workspace.cpp index 3951aa807f..dfe1219470 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -417,7 +417,7 @@ void Workspace::init() connect(mgr, SIGNAL(resetAllClients()), this, SLOT(slotResetAllClients())); connect(kapp, SIGNAL(appearanceChanged()), this, - SLOT(slotResetAllClientsDelayed())); + SLOT(slotReconfigure())); connect(kapp, SIGNAL(settingsChanged(int)), this, SLOT(slotSettingsChanged(int)));