summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-11-06 15:58:16 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-11-06 15:58:16 (GMT)
commit9182ea136b1982120cd8680e333b57676db92039 (patch)
tree1e2435429d4d2ebc9c4f4d23491861ac2ea548c0
parente37c3ee4c166fdcf3ad856da6bd37fbd1254cbc1 (diff)
QtConcurrent for milkyway seems to crash it sometimes to disabling it for now
-rw-r--r--kstars/skycomponents/milkyway.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kstars/skycomponents/milkyway.cpp b/kstars/skycomponents/milkyway.cpp
index 05dd36a..faf5445 100644
--- a/kstars/skycomponents/milkyway.cpp
+++ b/kstars/skycomponents/milkyway.cpp
@@ -46,13 +46,13 @@ MilkyWay::MilkyWay( SkyComposite *parent ) :
{
intro();
// Milky way
- //loadContours("milkyway.dat", i18n("Loading Milky Way"));
+ loadContours("milkyway.dat", i18n("Loading Milky Way"));
// Magellanic clouds
//loadContours("lmc.dat", i18n("Loading Large Magellanic Clouds"));
//loadContours("smc.dat", i18n("Loading Small Magellanic Clouds"));
//summary();
- QtConcurrent::run(this, &MilkyWay::loadContours, QString("milkyway.dat"), i18n("Loading Milky Way"));
+ //QtConcurrent::run(this, &MilkyWay::loadContours, QString("milkyway.dat"), i18n("Loading Milky Way"));
QtConcurrent::run(this, &MilkyWay::loadContours, QString("lmc.dat"), i18n("Loading Large Magellanic Clouds"));
QtConcurrent::run(this, &MilkyWay::loadContours, QString("smc.dat"), i18n("Loading Small Magellanic Clouds"));
}