Remove unused enum

This commit is contained in:
Aleix Pol 2017-01-13 14:22:01 +01:00
parent c822ef8104
commit c038c41eec
2 changed files with 1 additions and 6 deletions

View file

@ -195,7 +195,7 @@ void Device::pairStatusChanged(DeviceLink::PairStatus status)
reloadPlugins(); //Will load/unload plugins reloadPlugins(); //Will load/unload plugins
bool isTrusted = (status == DeviceLink::Paired); bool isTrusted = (status == DeviceLink::Paired);
Q_EMIT trustedChanged(isTrusted? Trusted : NotTrusted); Q_EMIT trustedChanged(isTrusted);
Q_ASSERT(isTrusted == this->isTrusted()); Q_ASSERT(isTrusted == this->isTrusted());
} }

View file

@ -55,11 +55,6 @@ public:
Tablet, Tablet,
}; };
enum TrustStatus {
NotTrusted,
Trusted
};
/** /**
* Restores the @p device from the saved configuration * Restores the @p device from the saved configuration
* *