+irwi (0.2-4) unstable; urgency=low
+
+ * Fixes connection dialog focus problems
+
+ -- Torste Aikio <zokier@unknown> Mon, 05 Jul 2010 12:17:33 +0300
+
irwi (0.2-3) unstable; urgency=low
* Sent commands are editable via advsettingsdlg
this, SLOT(downloadRemote()));
this->setLayout(layout);
- setBusy(true);
connect(&remoteDBMgr, SIGNAL(dbReady(RemoteDB*)),
this, SLOT(setDB(RemoteDB*)));
- remoteDBMgr.getDBAsync();
}
-
SelectRemoteDlg::~SelectRemoteDlg()
{
delete layout;
}
}
+void SelectRemoteDlg::refreshDB()
+{
+ setBusy(true);
+ remoteDBMgr.getDBAsync();
+}
+
+void SelectRemoteDlg::showEvent(QShowEvent *event)
+{
+ refreshDB();
+ QDialog::showEvent(event);
+}
+
class QWidget;
class QPushButton;
class QLabel;
+class QShowEvent;
class SelectRemoteDlg : public QDialog
{
SelectRemoteDlg(QWidget *parent = 0);
~SelectRemoteDlg();
+public slots:
+ void refreshDB();
+
private slots:
void alphabetItemChanged(QListWidgetItem *current,
QListWidgetItem *previous);
signals:
void remoteChanged(Remote);
+protected slots:
+ void showEvent(QShowEvent*);
+
private:
RemoteDBMgr remoteDBMgr;