mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
Display VATLIB version in "about swift"
This commit is contained in:
@@ -68,6 +68,11 @@ namespace BlackCore
|
||||
*/
|
||||
virtual ~INetwork() {}
|
||||
|
||||
/*!
|
||||
* Underlying library info.
|
||||
*/
|
||||
virtual const QString &getLibraryInfo(bool detailed) const = 0;
|
||||
|
||||
/*!
|
||||
* Flags for capabilities bitfield.
|
||||
*/
|
||||
@@ -109,8 +114,8 @@ namespace BlackCore
|
||||
*/
|
||||
static QString connectionStatusToString(ConnectionStatus status)
|
||||
{
|
||||
int index = staticMetaObject.indexOfEnumerator("ConnectionStatus");
|
||||
QMetaEnum metaEnum = staticMetaObject.enumerator(index);
|
||||
const int index = staticMetaObject.indexOfEnumerator("ConnectionStatus");
|
||||
const QMetaEnum metaEnum = staticMetaObject.enumerator(index);
|
||||
return metaEnum.valueToKey(status);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user