--warnings: unused variable

svn path=/trunk/kdebase/kwin/; revision=406133
icc-effect-5.14.5
André Wöbbeking 2005-04-17 18:05:08 +00:00
parent 33e72465bd
commit 841b7887a1
3 changed files with 0 additions and 12 deletions

View File

@ -773,8 +773,6 @@ bool KDEDefaultClient::decorationBehaviour(DecorationBehaviour behaviour) const
int KDEDefaultClient::layoutMetric(LayoutMetric lm, bool respectWindowState, const KCommonDecorationButton *btn) const
{
bool maximized = maximizeMode()==MaximizeFull && !options()->moveResizeMaximizedWindows();
switch (lm) {
case LM_BorderLeft:
case LM_BorderRight:
@ -1041,9 +1039,6 @@ void KDEDefaultClient::paintEvent( QPaintEvent* )
QRegion KDEDefaultClient::cornerShape(WindowCorner corner)
{
int w = widget()->width();
int h = widget()->height();
switch (corner) {
case WC_TopLeft:
return QRect(0, 0, 1, 1);

View File

@ -382,8 +382,6 @@ bool LaptopClient::decorationBehaviour(DecorationBehaviour behaviour) const
int LaptopClient::layoutMetric(LayoutMetric lm, bool respectWindowState, const KCommonDecorationButton *btn) const
{
bool maximized = maximizeMode()==MaximizeFull && !options()->moveResizeMaximizedWindows();
switch (lm) {
case LM_TitleEdgeLeft:
case LM_TitleEdgeRight:
@ -569,9 +567,6 @@ void LaptopClient::paintEvent( QPaintEvent* )
QRegion LaptopClient::cornerShape(WindowCorner corner)
{
int w = widget()->width();
int h = widget()->height();
switch (corner) {
case WC_TopLeft:
return QRect(0, 0, 1, 1);

View File

@ -382,8 +382,6 @@ bool RedmondDeco::decorationBehaviour(DecorationBehaviour behaviour) const
int RedmondDeco::layoutMetric(LayoutMetric lm, bool respectWindowState, const KCommonDecorationButton *btn) const
{
bool maximized = maximizeMode()==MaximizeFull && !options()->moveResizeMaximizedWindows();
switch (lm) {
case LM_BorderLeft:
case LM_BorderRight: