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 *