Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
KStars
Commits
9182ea13
Commit
9182ea13
authored
Nov 06, 2016
by
Jasem Mutlaq
Browse files
QtConcurrent for milkyway seems to crash it sometimes to disabling it for now
parent
e37c3ee4
Changes
1
Hide whitespace changes
Inline
Side-by-side
kstars/skycomponents/milkyway.cpp
View file @
9182ea13
...
...
@@ -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"
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment