Removed warnings when not compiling with -Wno-unused
svn path=/trunk/kdebase/kwin/; revision=45186
This commit is contained in:
parent
ae5a4da15b
commit
15b9b5a736
3 changed files with 4 additions and 31 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
INCLUDES = $(all_includes)
|
||||
|
||||
lib_LTLIBRARIES = libkwinriscos.la
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue