[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kstars-devel
Subject:    [Kstars-devel] branches/KDE/4.4/kdeedu/kstars/kstars
From:       Alexey Khudyakov <alexey.skladnoy () gmail ! com>
Date:       2010-02-15 18:37:33
Message-ID: 1266259053.497500.20808.nullmailer () svn ! kde ! org
[Download RAW message or body]

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@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 );
_______________________________________________
Kstars-devel mailing list
Kstars-devel@kde.org
https://mail.kde.org/mailman/listinfo/kstars-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic