aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-06 22:17:38 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-06 22:17:38 -0700
commit9039785dc9209e2df309ae83180f16de98458595 (patch)
tree1a345efb090f4fbd3ea51026fa344535d2a01cc7
parentb1538c809d0ce5abe489822f9d2b21287a0a38d5 (diff)
downloadsubsurface-9039785dc9209e2df309ae83180f16de98458595.tar.gz
Make things compile under Qt5.5
This declaration already exists in a Qt5.5 header file. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/btdeviceselectiondialog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/btdeviceselectiondialog.h b/qt-ui/btdeviceselectiondialog.h
index 6bcc43f34..0a486635f 100644
--- a/qt-ui/btdeviceselectiondialog.h
+++ b/qt-ui/btdeviceselectiondialog.h
@@ -8,7 +8,9 @@
#include <QtBluetooth/qbluetoothglobal.h>
#include <QtBluetooth/QBluetoothDeviceDiscoveryAgent>
+#if QT_VERSION < 0x050500
Q_DECLARE_METATYPE(QBluetoothDeviceInfo)
+#endif
namespace Ui {
class BtDeviceSelectionDialog;