From kde-commits Mon Mar 07 09:59:57 2011 From: Alexey Khudyakov Date: Mon, 07 Mar 2011 09:59:57 +0000 To: kde-commits Subject: KDE/kdeedu/kstars/kstars Message-Id: <20110307095957.521FAAC8D2 () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=129949206901009 SVN commit 1224044 by khudyakov: Remove private data member and unnnede forward decalrations and inludes M +2 -1 obslistpopupmenu.cpp M +0 -9 obslistpopupmenu.h --- trunk/KDE/kdeedu/kstars/kstars/obslistpopupmenu.cpp #1224043:1224044 @@ -40,7 +40,8 @@ bool showLinks, bool sessionView ) { - ks = KStars::Instance(); + KStars* ks = KStars::Instance(); + clear(); //Insert item for adding the object to the session view if( showAddToSession ) --- trunk/KDE/kdeedu/kstars/kstars/obslistpopupmenu.h #1224043:1224044 @@ -20,13 +20,7 @@ #define OBSLISTPOPUPMENU_H_ #include -#include -class KStars; -class StarObject; -class SkyObject; -class QLabel; - /**@class ObsListPopupMenu *The Popup Menu for the observing list in KStars. The menu is sensitive to the *type of selection in the observing list. @@ -51,9 +45,6 @@ bool showRemove = false, bool showLinks = false, bool sessionView = false ); - -private: - KStars *ks; }; #endif