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:
Klaus Basan
2014-06-20 00:46:34 +02:00
parent 2ecef24c91
commit 97b8ee8c32
5 changed files with 38 additions and 18 deletions

View File

@@ -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