this->setLayout(layout);
connect(&remoteDBMgr, SIGNAL(dbReady(RemoteDB*)),
this, SLOT(setDB(RemoteDB*)));
- remoteDBMgr.getDBAsync();
- setBusy(true);
}
-
SelectRemoteDlg::~SelectRemoteDlg()
{
delete layout;
}
}
+void SelectRemoteDlg::refreshDB()
+{
+ setBusy(true);
+ remoteDBMgr.getDBAsync();
+}
+
+void SelectRemoteDlg::showEvent(QShowEvent *event)
+{
+ refreshDB();
+ QDialog::showEvent(event);
+}
+