- _aliasManager = AliasManager();
- Client::signalProxy()->synchronize(&_aliasManager);
- connect(&_aliasManager, SIGNAL(initDone()), this, SLOT(initDone()));
- connect(&_aliasManager, SIGNAL(updated(const QVariantMap &)), this, SLOT(revert()));
+ connect(Client::aliasManager(), SIGNAL(updated()), SLOT(revert()));
+ if(Client::aliasManager()->isInitialized())
+ initDone();
+ else
+ connect(Client::aliasManager(), SIGNAL(initDone()), SLOT(initDone()));