diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-04-06 14:35:03 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2013-04-07 18:21:32 +0200 |
commit | 8d6a8446b46ebd76a68d1fe8a504cea20d2e548b (patch) | |
tree | c4e6947b4740fc64ae011d4eafeac07cd0d4aca9 /src/bluetooth/qbluetoothserviceinfo.cpp | |
parent | a43174e059d31588e5ee968cb29eb072a1294c5d (diff) |
Fix warning about checking for metatypes that aren't in QVariant::Type
Change-Id: I6e71855398ca49d19e485b2bde4636fd199dabba
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Diffstat (limited to 'src/bluetooth/qbluetoothserviceinfo.cpp')
-rw-r--r-- | src/bluetooth/qbluetoothserviceinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth/qbluetoothserviceinfo.cpp b/src/bluetooth/qbluetoothserviceinfo.cpp index d14f1523..971bb266 100644 --- a/src/bluetooth/qbluetoothserviceinfo.cpp +++ b/src/bluetooth/qbluetoothserviceinfo.cpp @@ -543,7 +543,7 @@ QBluetoothServiceInfo &QBluetoothServiceInfo::operator=(const QBluetoothServiceI static void dumpAttributeVariant(const QVariant &var, const QString indent) { - switch (var.type()) { + switch (int(var.type())) { case QMetaType::Void: qDebug("%sEmpty", indent.toLocal8Bit().constData()); break; |