From b34c7676d2080b313420f5b1472152e8339eb436 Mon Sep 17 00:00:00 2001 From: Marcus Eggenberger Date: Fri, 18 Jul 2008 14:20:21 +0200 Subject: [PATCH] unconfusinating the core edit dialog --- src/qtui/coreconnectdlg.cpp | 8 ++++++++ src/qtui/ui/coreaccounteditdlg.ui | 23 ++++++++++++++++------- 2 files changed, 24 insertions(+), 7 deletions(-) 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 -- 2.20.1