[Kstars-devel] KDE/kdeedu/kstars/kstars
Alexey Khudyakov
alexey.skladnoy at gmail.com
Mon Aug 10 18:19:09 CEST 2009
SVN commit 1009690 by khudyakov:
Remove code which deletes dialogs. They are owned by KStars so
Qt will delete them automatically.
CCMAIL: kstars-devel at kde.org
M +0 -3 kstars.cpp
M +0 -8 kstarsactions.cpp
--- trunk/KDE/kdeedu/kstars/kstars/kstars.cpp #1009689:1009690
@@ -137,9 +137,6 @@
delete indiseq;
delete projectionGroup;
delete cschemeGroup;
-
- //NOTE: Dialog window pointers are deleted in KStars::slotAboutToQuit()
- //(if they are deleted here, it causes a SegFault for some reason)
}
void KStars::clearCachedFindDialog() {
--- trunk/KDE/kdeedu/kstars/kstars/kstarsactions.cpp #1009689:1009690
@@ -1117,17 +1117,9 @@
//Delete dialog window pointers
clearCachedFindDialog();
- delete AAVSODialog;
if( ! Options::obsListSaveImage() )
foreach ( QString file, obsList->imageList() )
QFile::remove( KStandardDirs::locateLocal( "appdata", file ) );
- delete obsList;
- if ( findDialog ) delete findDialog;
- if ( avt ) delete avt;
- if ( sb ) delete sb;
- if ( pv ) delete pv;
- if ( jmt ) delete jmt;
- if ( fm ) delete fm;
while ( ! m_ImageViewerList.isEmpty() )
delete m_ImageViewerList.takeFirst();
More information about the Kstars-devel
mailing list