Commit 782083bc authored by Aneesh Dogra's avatar Aneesh Dogra Committed by Rishab Arora
Browse files

Fixed regression from earlier fix.

Skymap should be inited before we register any of its methods to a signal.

BUG: 321028
parent 35a3949b
......@@ -564,12 +564,13 @@ void KStars::datainitFinished() {
this, SLOT( updateTime() ) );
connect( data()->clock(), SIGNAL( timeChanged() ),
this, SLOT( updateTime() ) );
connect( data()->clock(), SIGNAL( scaleChanged( float ) ),
map(), SLOT( slotClockSlewing() ) );
//Add GUI elements to main window
buildGUI();
connect( data()->clock(), SIGNAL( scaleChanged( float ) ),
map(), SLOT( slotClockSlewing() ) );
connect( data(), SIGNAL( update() ), map(), SLOT( forceUpdateNow() ) );
connect( TimeStep, SIGNAL( scaleChanged(float) ), data(), SLOT( setTimeDirection( float ) ) );
connect( TimeStep, SIGNAL( scaleChanged(float) ),
......
Supports Markdown
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