mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
refs #277, slow auio init
* fixed QHostInfo::localHostName() * move to BlackMisc, as it can be used elsewhere * temp. change, moved methods in body until refs #278, #277 is fixed/ resolved
This commit is contained in:
@@ -140,6 +140,12 @@ namespace BlackMisc
|
||||
//! Real heap size of an object
|
||||
size_t heapSizeOf(const QMetaObject &objectType);
|
||||
|
||||
//! Get local host name
|
||||
const QString &localHostName();
|
||||
|
||||
//! Get local host name env.variable
|
||||
const QString &localHostNameEnvVariable();
|
||||
|
||||
} // BlackMisc
|
||||
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user