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