fix two warnings

svn path=/trunk/kdebase/kwin/; revision=405521
icc-effect-5.14.5
Sandro Giessl 2005-04-14 10:57:54 +00:00
parent 86594e3fe8
commit 33e72465bd
1 changed files with 2 additions and 2 deletions

View File

@ -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: