[Marble-commits] KDE/kdeedu/marble/src/lib
Bernhard Beschow
bbeschow at cs.tu-berlin.de
Thu Aug 19 15:44:07 CEST 2010
SVN commit 1165498 by beschow:
use more forwarders of MarbleWidget directly
M +3 -3 MarbleControlBox.cpp
--- trunk/KDE/kdeedu/marble/src/lib/MarbleControlBox.cpp #1165497:1165498
@@ -442,7 +442,7 @@
}
if ( !enabled ) {
- d->m_widget->map()->setShowGps( false );
+ d->m_widget->setShowGps( false );
}
}
}
@@ -510,7 +510,7 @@
currentIndex.row(), 1, QModelIndex() ) ).toString();
- d->m_navigationUi.zoomSlider->setMaximum( d->m_widget->map()->maximumZoom() );
+ d->m_navigationUi.zoomSlider->setMaximum( d->m_widget->maximumZoom() );
updateButtons( d->m_navigationUi.zoomSlider->value() );
if ( theme != indexTheme ) {
@@ -643,7 +643,7 @@
void MarbleControlBox::setWorkOffline(bool offline)
{
HttpDownloadManager * const downloadManager =
- d->m_widget->map()->model()->downloadManager();
+ d->m_widget->model()->downloadManager();
downloadManager->setDownloadEnabled( !offline );
d->m_runnerManager->setWorkOffline( offline );
if ( d->m_routingWidget ) {
More information about the Marble-commits
mailing list