void SelectRemoteDlg::refreshDB()
{
setBusy(true);
- remoteDBMgr.getDBAsync();
+ if (onlinePollerThread != NULL) {
+ delete onlinePollerThread;
+ }
+ onlinePollerThread = new OnlinePollerThread();
+ connect(onlinePollerThread, SIGNAL(online()),
+ this, SLOT(getDB()));
+ onlinePollerThread->run();
}
void SelectRemoteDlg::showEvent(QShowEvent *event)