From: Marcus Eggenberger Date: Fri, 18 Jul 2008 12:20:21 +0000 (+0200) Subject: unconfusinating the core edit dialog X-Git-Tag: 0.3.0~254 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=b34c7676d2080b313420f5b1472152e8339eb436;ds=sidebyside unconfusinating the core edit dialog --- diff --git a/src/qtui/coreconnectdlg.cpp b/src/qtui/coreconnectdlg.cpp index d7d52de2..6591edea 100644 --- a/src/qtui/coreconnectdlg.cpp +++ b/src/qtui/coreconnectdlg.cpp @@ -464,6 +464,14 @@ CoreAccountEditDlg::CoreAccountEditDlg(AccountId id, const QVariantMap &acct, co ui.useSsl->setEnabled(false); #endif } + +#ifndef BUILD_MONO + // if we don't have a mono build we hide the option to use the internal connection and force the setting to use remote host + ui.useInternal->setChecked(false); + ui.useInternal->hide(); + ui.useRemote->hide(); + ui.labelUseBuiltinCore->hide(); +#endif } QVariantMap CoreAccountEditDlg::accountData() { diff --git a/src/qtui/ui/coreaccounteditdlg.ui b/src/qtui/ui/coreaccounteditdlg.ui index 30364a2b..7c67ef68 100644 --- a/src/qtui/ui/coreaccounteditdlg.ui +++ b/src/qtui/ui/coreaccounteditdlg.ui @@ -31,7 +31,11 @@ - + + + Local Core + + @@ -48,7 +52,7 @@ - + false @@ -73,7 +77,7 @@ - Remote host: + Hostname: useRemote @@ -88,7 +92,11 @@ - + + + localhost + + @@ -109,7 +117,8 @@ Use secure connection (SSL) - :/16x16/actions/oxygen/16x16/actions/document-encrypt.png + + :/16x16/actions/oxygen/16x16/actions/document-encrypt.png:/16x16/actions/oxygen/16x16/actions/document-encrypt.png false @@ -213,7 +222,7 @@ Qt::Vertical - + 20 40 @@ -227,7 +236,7 @@ Qt::Horizontal - QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok + QDialogButtonBox::Cancel|QDialogButtonBox::Ok