fix two warnings
svn path=/trunk/kdebase/kwin/; revision=405521
This commit is contained in:
parent
86594e3fe8
commit
33e72465bd
1 changed files with 2 additions and 2 deletions
|
@ -216,7 +216,7 @@ void ModernSysFactory::read_config()
|
|||
|
||||
KConfig c("kwinmodernsysrc");
|
||||
c.setGroup("General");
|
||||
show_handle = c.readBoolEntry("ShowHandle", true);
|
||||
showh = c.readBoolEntry("ShowHandle", true);
|
||||
|
||||
hwidth = c.readUnsignedNumEntry("HandleWidth", 6);
|
||||
hsize = c.readUnsignedNumEntry("HandleSize", 30);
|
||||
|
@ -409,7 +409,7 @@ bool ModernSys::decorationBehaviour(DecorationBehaviour behaviour) const
|
|||
|
||||
int ModernSys::layoutMetric(LayoutMetric lm, bool respectWindowState, const KCommonDecorationButton *btn) const
|
||||
{
|
||||
bool maximized = maximizeMode()==MaximizeFull && !options()->moveResizeMaximizedWindows();
|
||||
// bool maximized = maximizeMode()==MaximizeFull && !options()->moveResizeMaximizedWindows();
|
||||
|
||||
switch (lm) {
|
||||
case LM_BorderLeft:
|
||||
|
|
Loading…
Reference in a new issue