mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 10:45:37 +08:00
refs #937 Resolved clazy warnings: Q_ENUMS is deprecated.
This commit is contained in:
@@ -26,7 +26,6 @@ namespace BlackCore
|
||||
class BLACKCORE_EXPORT IVoiceChannel : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_ENUMS(ConnectionStatus)
|
||||
|
||||
public:
|
||||
//! Com status
|
||||
@@ -39,6 +38,7 @@ namespace BlackCore
|
||||
Connected, //!< Connection established
|
||||
ConnectingFailed //!< Failed to connect
|
||||
};
|
||||
Q_ENUM(ConnectionStatus)
|
||||
|
||||
//! Constructor
|
||||
IVoiceChannel(QObject *parent = nullptr) : QObject(parent) {}
|
||||
|
||||
Reference in New Issue
Block a user