summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2013-08-21 14:33:32 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-21 19:24:00 (GMT)
commitf281e618eea345bcfe3b700974a0cacda1b884a0 (patch)
treec6b9f7c6800017cfbe00390e27710a62b0764030
parentfdfe3b6d5ff8f177d0902b6ec2ede46fcce8d731 (diff)
downloadQt-f281e618eea345bcfe3b700974a0cacda1b884a0.zip
Qt-f281e618eea345bcfe3b700974a0cacda1b884a0.tar.gz
Qt-f281e618eea345bcfe3b700974a0cacda1b884a0.tar.bz2
Fix unused private field warning in QMacMime.
Does not apply to Qt 5. Change-Id: Ia1e5c5d8813a2285dd80189f7264d959ea8056c1 Reviewed-by: David Faure (KDE) <faure@kde.org>
-rw-r--r--src/gui/kernel/qmime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qmime.h b/src/gui/kernel/qmime.h
index 53fcfc0..aa05d89 100644
--- a/src/gui/kernel/qmime.h
+++ b/src/gui/kernel/qmime.h
@@ -119,7 +119,7 @@ class Q_GUI_EXPORT QMacMime { //Obsolete
char type;
public:
enum QMacMimeType { MIME_DND=0x01, MIME_CLIP=0x02, MIME_QT_CONVERTOR=0x04, MIME_ALL=MIME_DND|MIME_CLIP };
- explicit QMacMime(char) { }
+ explicit QMacMime(char) { Q_UNUSED(type); }
virtual ~QMacMime() { }
static void initialize() { }