mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
refs #937 Resolved clazy warnings: Q_ENUMS is deprecated.
This commit is contained in:
@@ -55,7 +55,6 @@ namespace BlackCore
|
||||
class BLACKCORE_EXPORT INetwork : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_ENUMS(ConnectionStatus)
|
||||
|
||||
protected:
|
||||
/*!
|
||||
@@ -103,6 +102,7 @@ namespace BlackCore
|
||||
Connecting, //!< Connection initiated but not established
|
||||
Connected //!< Connection established
|
||||
};
|
||||
Q_ENUM(ConnectionStatus)
|
||||
|
||||
/*!
|
||||
* Convert a ConnectionStatus to a string.
|
||||
|
||||
Reference in New Issue
Block a user