[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Thu May 13 21:45:19 CEST 2010
SVN commit 1126349 by jmhoffmann:
Remove last occurence of KML_GSOC macro.
M +0 -7 MarbleControlBox.cpp
--- trunk/KDE/kdeedu/marble/src/lib/MarbleControlBox.cpp #1126348:1126349
@@ -501,19 +501,12 @@
d->uiWidget.m_saveButton->setEnabled( tmp );
d->uiWidget.m_closeButton->setEnabled( tmp );
-#ifndef KML_GSOC
if ( tmp ) {
QModelIndex tmpIndex =
d->uiWidget.m_fileView->selectionModel()->currentIndex();
d->m_widget->gpxFileModel()->setSelectedIndex( tmpIndex );
}
-#else
- if ( tmp ) {
- FileViewModel& model = ( FileViewModel& ) *d->uiWidget.m_fileView->model();
- model.setSelectedIndex( d->uiWidget.m_fileView->selectionModel()->currentIndex() );
}
-#endif
-}
void MarbleControlBox::setNavigationTabShown( bool show )
{
More information about the Marble-commits
mailing list