mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
refs #649, do not init to current timestamp
* force explicit init (performance/invalid objects) * allow to find mising timestamps * style
This commit is contained in:
@@ -16,7 +16,8 @@
|
||||
namespace BlackMisc
|
||||
{
|
||||
CIdentifier::CIdentifier(const QString &name)
|
||||
: m_name(name.trimmed()),
|
||||
: ITimestampBased(QDateTime::currentMSecsSinceEpoch()),
|
||||
m_name(name.trimmed()),
|
||||
m_machineIdBase64(QDBusConnection::localMachineId().toBase64()),
|
||||
m_machineName(QHostInfo::localHostName()),
|
||||
m_processName(QCoreApplication::applicationName()),
|
||||
|
||||
Reference in New Issue
Block a user