From 443eb30ac8ec223e052d0d4afc3df215066fb777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Sun, 9 Apr 2006 09:43:31 +0000 Subject: [PATCH] switch fall-through fixes svn path=/trunk/KDE/kdebase/workspace/; revision=527754 --- clients/default/kdedefault.cpp | 2 +- useractions.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/default/kdedefault.cpp b/clients/default/kdedefault.cpp index 5ca54c40fd..7c80367970 100644 --- a/clients/default/kdedefault.cpp +++ b/clients/default/kdedefault.cpp @@ -814,7 +814,7 @@ int KDEDefaultClient::layoutMetric(LayoutMetric lm, bool respectWindowState, con case LM_ExplicitButtonSpacer: if ( !isToolWindow() ) return borderWidth/2; - + // fall though default: return KCommonDecoration::layoutMetric(lm, respectWindowState, btn); } diff --git a/useractions.cpp b/useractions.cpp index 17339da3a3..aaac2312b1 100644 --- a/useractions.cpp +++ b/useractions.cpp @@ -389,6 +389,7 @@ void Workspace::performWindowOperation( Client* c, Options::WindowOperation op ) break; case Options::RestoreOp: c->maximize( Client::MaximizeRestore ); + break; case Options::MinimizeOp: c->minimize(); break;