From 15b9b5a7369a4036dfb0a3321727eaa5d258454b Mon Sep 17 00:00:00 2001 From: Rik Hemsley Date: Thu, 30 Mar 2000 22:07:31 +0000 Subject: [PATCH] Removed warnings when not compiling with -Wno-unused svn path=/trunk/kdebase/kwin/; revision=45186 --- clients/riscos/Makefile.am | 1 - clients/riscos/riscosclient.cpp | 8 ++++---- clients/riscos/riscosclient.h | 26 -------------------------- 3 files changed, 4 insertions(+), 31 deletions(-) diff --git a/clients/riscos/Makefile.am b/clients/riscos/Makefile.am index 6a7e04891f..762994b1dd 100644 --- a/clients/riscos/Makefile.am +++ b/clients/riscos/Makefile.am @@ -1,4 +1,3 @@ - INCLUDES = $(all_includes) lib_LTLIBRARIES = libkwinriscos.la diff --git a/clients/riscos/riscosclient.cpp b/clients/riscos/riscosclient.cpp index f80f924c56..c224d69644 100644 --- a/clients/riscos/riscosclient.cpp +++ b/clients/riscos/riscosclient.cpp @@ -332,7 +332,7 @@ TitleBar::mousePressEvent(QMouseEvent * e) } void -TitleBar::mouseReleaseEvent(QMouseEvent * e) +TitleBar::mouseReleaseEvent(QMouseEvent *) { } @@ -351,7 +351,7 @@ TitleBar::mouseMoveEvent(QMouseEvent * e) } void -TitleBar::mouseDoubleClickEvent(QMouseEvent * e) +TitleBar::mouseDoubleClickEvent(QMouseEvent *) { client_->setShade(!client_->isShade()); } @@ -601,7 +601,7 @@ Manager::captionChange(const QString &) } void -Manager::activeChange(bool b) +Manager::activeChange(bool) { title_->update(); lower_->update(); @@ -645,7 +645,7 @@ Manager::resize(int w, int h) } void -Manager::setShade(bool b) +Manager::setShade(bool) { #if 0 // Hmm. This does screwy things to the layout. diff --git a/clients/riscos/riscosclient.h b/clients/riscos/riscosclient.h index 0886973ee4..e05b1b0a99 100644 --- a/clients/riscos/riscosclient.h +++ b/clients/riscos/riscosclient.h @@ -32,32 +32,6 @@ class QPixmap; namespace RiscOS { -static QPixmap * px_button_base_up; -static QPixmap * px_button_base_down; -static QPixmap * px_button_base_up_active; -static QPixmap * px_button_base_down_active; -static QPixmap * px_button_iconify_; -static QPixmap * px_button_close_; -static QPixmap * px_button_lower_; -static QPixmap * px_button_max_; -static QPixmap * px_button_unmax_; -static QPixmap * px_button_iconify_active; -static QPixmap * px_button_close_active; -static QPixmap * px_button_lower_active; -static QPixmap * px_button_max_active; -static QPixmap * px_button_unmax_active; -static QPixmap * px_title_inactive_left_; -static QPixmap * px_title_inactive_; -static QPixmap * px_title_inactive_right_; -static QPixmap * px_title_active_left_; -static QPixmap * px_title_active_; -static QPixmap * px_title_active_right_; -static QPixmap * px_resize_left_; -static QPixmap * px_resize_mid_; -static QPixmap * px_resize_right_; - -// -------------------------------------------------------------------------- - class Manager; class Button : public QButton