From: Manuel Nickschas Date: Sat, 9 Feb 2008 18:31:59 +0000 (+0000) Subject: More fixes to the coreconnectdlg... X-Git-Tag: 0.2.0-alpha1~88 X-Git-Url: https://git.quassel-irc.org/?a=commitdiff_plain;h=30c2dcaf2c892b14e7072057ced4d2fdaaceb9eb;p=quassel.git More fixes to the coreconnectdlg... --- diff --git a/src/qtui/aboutdlg.cpp b/src/qtui/aboutdlg.cpp index 32a23c3c..db2d8f04 100644 --- a/src/qtui/aboutdlg.cpp +++ b/src/qtui/aboutdlg.cpp @@ -24,7 +24,7 @@ AboutDlg::AboutDlg(QWidget *parent) : QDialog(parent) { ui.setupUi(this); - ui.versionLabel->setText(QString("Version %1, Build >= %2 (%3)").arg(Global::quasselVersion).arg(Global::quasselBuild).arg(Global::quasselDate)); + ui.versionLabel->setText(QString("Version %1, Build ≥ %2 (%3)").arg(Global::quasselVersion).arg(Global::quasselBuild).arg(Global::quasselDate)); ui.aboutTextBrowser->setHtml(about()); ui.authorTextBrowser->setHtml(authors()); ui.contributorTextBrowser->setHtml(contributors()); diff --git a/src/qtui/coreconnectdlg.cpp b/src/qtui/coreconnectdlg.cpp index a8dc4820..524bd566 100644 --- a/src/qtui/coreconnectdlg.cpp +++ b/src/qtui/coreconnectdlg.cpp @@ -38,8 +38,6 @@ CoreConnectDlg::CoreConnectDlg(QWidget *parent, bool autoconnect) : QDialog(pare doingAutoConnect = false; ui.stackedWidget->setCurrentWidget(ui.accountPage); - ui.accountButtonBox->setFocus(); - ui.accountButtonBox->button(QDialogButtonBox::Ok)->setDefault(true); CoreAccountSettings s; AccountId lastacc = s.lastAccount(); @@ -57,6 +55,9 @@ CoreConnectDlg::CoreConnectDlg(QWidget *parent, bool autoconnect) : QDialog(pare else ui.accountList->setCurrentRow(0); setAccountWidgetStates(); + ui.accountButtonBox->setFocus(); + ui.accountButtonBox->button(QDialogButtonBox::Ok)->setDefault(true); + ui.accountButtonBox->button(QDialogButtonBox::Ok)->setAutoDefault(true); connect(clientSyncer, SIGNAL(socketStateChanged(QAbstractSocket::SocketState)),this, SLOT(initPhaseSocketState(QAbstractSocket::SocketState))); connect(clientSyncer, SIGNAL(connectionError(const QString &)), this, SLOT(initPhaseError(const QString &))); diff --git a/src/qtui/ui/coreconnectdlg.ui b/src/qtui/ui/coreconnectdlg.ui index 8b903eae..74b81a1d 100644 --- a/src/qtui/ui/coreconnectdlg.ui +++ b/src/qtui/ui/coreconnectdlg.ui @@ -5,8 +5,8 @@ 0 0 - 617 - 410 + 533 + 361 @@ -16,7 +16,7 @@ - 1 + 0