From c038c41eec6d88d0b8628e79637bb3220e4ffe8b Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Fri, 13 Jan 2017 14:22:01 +0100 Subject: [PATCH] Remove unused enum --- core/device.cpp | 2 +- core/device.h | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/core/device.cpp b/core/device.cpp index 5b753995a..5bf3d55e2 100644 --- a/core/device.cpp +++ b/core/device.cpp @@ -195,7 +195,7 @@ void Device::pairStatusChanged(DeviceLink::PairStatus status) reloadPlugins(); //Will load/unload plugins bool isTrusted = (status == DeviceLink::Paired); - Q_EMIT trustedChanged(isTrusted? Trusted : NotTrusted); + Q_EMIT trustedChanged(isTrusted); Q_ASSERT(isTrusted == this->isTrusted()); } diff --git a/core/device.h b/core/device.h index 92bc8091a..f0c5db43d 100644 --- a/core/device.h +++ b/core/device.h @@ -55,11 +55,6 @@ public: Tablet, }; - enum TrustStatus { - NotTrusted, - Trusted - }; - /** * Restores the @p device from the saved configuration *