[prev in list] [next in list] [prev in thread] [next in thread]
List: amarok-devel
Subject: [PATCH] fix invalid Q_UNUSED
From: Martin <darklight.xdarklight () googlemail ! com>
Date: 2009-09-14 18:37:41
Message-ID: 888a464d0909141137t2c2174d6l6e7d27e59ec245db () mail ! gmail ! com
[Download RAW message or body]
Hi,
while doing crazy stuff with amarok's code
I've found some invalid Q_UNUSED
actually that parameter IS used (3 lines below)
here's my patch:
diff --git a/src/context/applets/videoclip/VideoclipApplet.cpp
b/src/context/applets/videoclip/VideoclipApplet.cpp
index 3b30b38..23b1307 100644
--- a/src/context/applets/videoclip/VideoclipApplet.cpp
+++ b/src/context/applets/videoclip/VideoclipApplet.cpp
@@ -277,7 +277,6 @@ VideoclipApplet::constraintsEvent(
Plasma::Constraints constraints )
void
VideoclipApplet::paintInterface( QPainter *p, const
QStyleOptionGraphicsItem *option, const QRect &contentsRect )
{
- Q_UNUSED( p );
Q_UNUSED( option );
Q_UNUSED( contentsRect );
p->setRenderHint( QPainter::Antialiasing );
Regards,
Martin
_______________________________________________
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic