- Make KApp's "appearanceChanged()" signal properly reconfigure the window
decoration's colors by calling the reset() cdecl. - Change the options::reload() slot into a public method, as the slot is no longer required. Reviewed by Matthias Elter svn path=/trunk/kdebase/kwin/; revision=143232
This commit is contained in:
parent
c7659304f7
commit
e9b984e3f8
3 changed files with 3 additions and 10 deletions
|
@ -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(){
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)));
|
||||
|
||||
|
|
Loading…
Reference in a new issue