Commit 9182ea13 authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

QtConcurrent for milkyway seems to crash it sometimes to disabling it for now

parent e37c3ee4
......@@ -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"));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment