[Marble-commits] KDE/kdeedu/marble/src/plugins/render/inhibit-screensaver
Dennis Nienhüser
earthwings at gentoo.org
Tue Nov 2 19:10:21 CET 2010
SVN commit 1192364 by nienhueser:
Handle position tracking being already active at init time. Fixes screensaver getting active when GPS is activated at startup.
M +1 -0 InhibitScreensaverPlugin.cpp
--- trunk/KDE/kdeedu/marble/src/plugins/render/inhibit-screensaver/InhibitScreensaverPlugin.cpp #1192363:1192364
@@ -89,6 +89,7 @@
PositionTracking *tracking = dataFacade()->positionTracking();
connect( tracking, SIGNAL( positionProviderPluginChanged( PositionProviderPlugin* ) ),
this, SLOT( updateScreenSaverState( PositionProviderPlugin* ) ) );
+ updateScreenSaverState( tracking->positionProviderPlugin() );
d->m_initialized = true;
}
More information about the Marble-commits
mailing list