[Kstars-devel] kdeedu/kstars/kstars
Jason Harris
kstars at 30doradus.org
Mon Jun 28 03:33:37 CEST 2004
CVS commit by harris:
Fix compile for KDE 3.2.x. moc doesn't care if slot function
definitions in the header are wrapped by preprocessor "#if" statements;
the *.moc file expects the function to be present regardless of whether
the #if was true or not.
CCMAIL: kstars-devel at kde.org
M +0 -2 kstars.h 1.76
M +2 -2 kstarsactions.cpp 1.112
--- kdeedu/kstars/kstars/kstars.h #1.75:1.76
@@ -251,10 +251,8 @@ class KStars : public KMainWindow, virtu
void slotWizard();
-#if ( KDE_IS_VERSION( 3, 2, 90 ) )
/**
* action slot: open KNewStuff window to download extra data.
*/
void slotDownload();
-#endif //KDE >= 3.2.90
/**
--- kdeedu/kstars/kstars/kstarsactions.cpp #1.111:1.112
@@ -160,10 +160,10 @@ void KStars::slotWizard() {
}
-#if ( KDE_IS_VERSION( 3, 2, 90 ) )
void KStars::slotDownload() {
+#if ( KDE_IS_VERSION( 3, 2, 90 ) )
if (!kns) kns = new KSNewStuff( this );
kns->download();
-}
#endif //KDE >= 3.2.90
+}
void KStars::slotLCGenerator() {
More information about the Kstars-devel
mailing list