summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <[email protected]>2016-07-07 23:43:14 +0300
committerJasem Mutlaq <[email protected]>2016-07-07 23:43:14 +0300
commit551025bef36f472cc6ca363f80849176bfd63756 (patch)
tree4224719eec0d21b341d8be057a66e076038cd67e
parent0d8d9ce690b2c3908b0d93b2ec01158f60c86899 (diff)
Always set remote mode on Windows
-rw-r--r--kstars/ekos/profileeditor.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/kstars/ekos/profileeditor.cpp b/kstars/ekos/profileeditor.cpp
index ec82285..049d766 100644
--- a/kstars/ekos/profileeditor.cpp
+++ b/kstars/ekos/profileeditor.cpp
@@ -46,11 +46,12 @@ ProfileEditor::ProfileEditor(QWidget *w ) : QDialog( w )
connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
connect(buttonBox, SIGNAL(accepted()), this, SLOT(saveProfile()));
- connect(ui->remoteMode, SIGNAL(toggled(bool)), this, SLOT(setRemoteMode(bool)));
-
#ifdef Q_OS_WIN
+ ui->remoteMode->setChecked(true);
ui->localMode->setEnabled(false);
setRemoteMode(true);
+ #else
+ connect(ui->remoteMode, SIGNAL(toggled(bool)), this, SLOT(setRemoteMode(bool)));
#endif
// Load all drivers