[prev in list] [next in list] [prev in thread] [next in thread]
List: kstars-devel
Subject: [Kstars-devel]
From: Jasem Mutlaq <mutlaqja () ikarustech ! com>
Date: 2011-04-05 20:16:11
Message-ID: 20110405201611.6B502A609B () git ! kde ! org
[Download RAW message or body]
Git commit 3233dfc86d440dcd92f2b3c826ff44da5c95c574 by Jasem Mutlaq.
Committed on 05/04/2011 at 22:13.
Pushed by mutlaqja into branch 'master'.
Start the server AFTER the progress bar is created. It used to work the other way around!
CCMAIL: kstars-devel@kde.org
M +1 -0 kstars/indi/indistd.cpp
M +8 -7 kstars/indi/telescopewizardprocess.cpp
http://commits.kde.org/kstars/3233dfc86d440dcd92f2b3c826ff44da5c95c574
diff --git a/kstars/indi/indistd.cpp b/kstars/indi/indistd.cpp
index b8a70c9..aa505d5 100644
--- a/kstars/indi/indistd.cpp
+++ b/kstars/indi/indistd.cpp
@@ -658,6 +658,7 @@ void INDIStdDevice::registerProperty(INDI_P *pp)
break;
case EQUATORIAL_EOD_COORD:
+ case EQUATORIAL_EOD_COORD_REQUEST:
case HORIZONTAL_COORD:
emit newTelescope();
break;
diff --git a/kstars/indi/telescopewizardprocess.cpp b/kstars/indi/telescopewizardprocess.cpp
index e98402a..5b4aac9 100644
--- a/kstars/indi/telescopewizardprocess.cpp
+++ b/kstars/indi/telescopewizardprocess.cpp
@@ -254,13 +254,6 @@ void telescopeWizardProcess::establishLink()
indidriver->ui->localR->setChecked(true);
// Connect new device discovered with process ports
connect (indidriver, SIGNAL(newTelescope()), this, SLOT(processPort()), Qt::QueuedConnection);
- // Run it
- indidriver->processLocalTree(IDevice::DEV_START);
-
-// kDebug() << "Processing device tree for " << ui->telescopeCombo->currentText();
-
- if (!indidriver->isDeviceRunning(ui->telescopeCombo->currentText()))
- return;
currentPort = -1;
@@ -287,6 +280,14 @@ void telescopeWizardProcess::establishLink()
progressScan->progressBar()->setMaximum(portList.count());
progressScan->show();
+ // Run it
+ indidriver->processLocalTree(IDevice::DEV_START);
+
+// kDebug() << "Processing device tree for " << ui->telescopeCombo->currentText();
+
+ if (!indidriver->isDeviceRunning(ui->telescopeCombo->currentText()))
+ return;
+
}
void telescopeWizardProcess::processPort()
_______________________________________________
Kstars-devel mailing list
Kstars-devel@kde.org
https://mail.kde.org/mailman/listinfo/kstars-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic