From 5f9ecfb6e148c4a7af2d7bcfeb9942e0c4aaf048 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Wed, 11 Feb 2015 14:28:41 +0100 Subject: [PATCH] Fix warning when compiled without HAVE_XCB_COMPOSITE Change-Id: I62dc7cc731cf6d05592ff8e4427740c76643178a --- src/declarativeimports/core/windowthumbnail.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/declarativeimports/core/windowthumbnail.cpp b/src/declarativeimports/core/windowthumbnail.cpp index 21ce9ecc8..5a5274e1e 100644 --- a/src/declarativeimports/core/windowthumbnail.cpp +++ b/src/declarativeimports/core/windowthumbnail.cpp @@ -203,6 +203,8 @@ bool WindowThumbnail::nativeEventFilter(const QByteArray &eventType, void *messa discardPixmap(); } } +#else + Q_UNUSED(message) #endif // do not filter out any events, there might be further WindowThumbnails for the same window return false;