[Kstars-devel] branches/KDE/3.5/kdeedu/kstars/kstars
Jason Harris
kstars at 30doradus.org
Tue Sep 6 01:49:08 CEST 2005
SVN commit 457473 by harris:
If startup position is below the horizon, do not ask the user twice if
they want to reset the position. (note this is only applicable to the
3.5 branch; my overhaul of the startup procedure in trunk a few weeks
ago already fixed this issue there)
CCMAIL: kstars-devel at kde.org
M +6 -3 kstarsinit.cpp
--- branches/KDE/3.5/kdeedu/kstars/kstars/kstarsinit.cpp #457472:457473
@@ -418,9 +418,15 @@
DefaultFocus.setAlt( 45.0 );
DefaultFocus.HorizontalToEquatorial( LST(), geo()->lat() );
map()->setDestination( &DefaultFocus );
+
+ Options::setFocusRA( DefaultFocus.ra()->Hours() );
+ Options::setFocusDec( DefaultFocus.dec()->Degrees() );
}
}
+ //Propagate Options values through the program
+ applyConfig();
+
//If there is a focusObject() and it is a SS body, add a temporary Trail to it.
if ( map()->focusObject() && map()->focusObject()->isSolarSystem()
&& Options::useAutoTrail() ) {
@@ -471,9 +477,6 @@
//text of each button shorter
ks->toolBar( "viewToolBar" )->setIconText( KToolBar::IconOnly );
- //Propagate Options values through the program
- ks->applyConfig();
-
ks->TimeStep = new TimeStepBox( ks->toolBar() );
ks->toolBar()->insertWidget( 0, 6, ks->TimeStep, 15 );
More information about the Kstars-devel
mailing list