[Kstars-devel] branches/KDE/4.4/kdeedu/kstars/kstars

Alexey Khudyakov alexey.skladnoy at gmail.com
Mon Feb 15 19:37:33 CET 2010


SVN commit 1090668 by khudyakov:

Backporting bug fix into 4.4 branch.

Trunk require more well thought approach. Order of initialization
of KStars and SkyMap is too interweaved. It must be simplified

Thanks to Sruthi Devi for finding and fixing bug.

CCBUG: 226159
CCMAIL: kstars-devel at kde.org



 M  +3 -3      kstarsinit.cpp  


--- branches/KDE/4.4/kdeedu/kstars/kstars/kstarsinit.cpp #1090667:1090668
@@ -200,9 +200,9 @@
         << KShortcut( Qt::CTRL+Qt::Key_M );
 
     // ==== View Menu ================
-    actionCollection()->addAction( KStandardAction::ZoomIn,  "zoom_in",  map(), SLOT( slotZoomIn() ) );
-    actionCollection()->addAction( KStandardAction::ZoomOut, "zoom_out", map(), SLOT( slotZoomOut() ) );
-    actionCollection()->addAction("zoom_default", map(), SLOT( slotZoomDefault() ) )
+    actionCollection()->addAction( KStandardAction::ZoomIn,  "zoom_in", this, SLOT( zoomIn() ) );
+    actionCollection()->addAction( KStandardAction::ZoomOut, "zoom_out", this, SLOT( zoomOut() ) );
+    actionCollection()->addAction("zoom_default", this, SLOT( defaultZoom() ) )
         << i18n("&Default Zoom")
         << KIcon("zoom-fit-best" )
         << KShortcut( Qt::CTRL+Qt::Key_Z );


More information about the Kstars-devel mailing list