[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/marble/src/plugins/runner/monav
From:       Dennis Nienhüser <earthwings () gentoo ! org>
Date:       2010-09-30 21:43:04
Message-ID: 20100930214304.021E8AC894 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1181395 by nienhueser:

Stop the monav daemon at shutdown in case it was started by us. Fixes the N900 not \
allowing USB mounts after Marble being run because monav daemon was still accessing \
files from the flash memory.

 M  +7 -0      MonavPlugin.cpp  


--- trunk/KDE/kdeedu/marble/src/plugins/runner/monav/MonavPlugin.cpp #1181394:1181395
@@ -34,6 +34,8 @@
 
     MonavPluginPrivate();
 
+    ~MonavPluginPrivate();
+
     bool startDaemon();
 
     void stopDaemon();
@@ -46,6 +48,11 @@
     // nothing to do
 }
 
+MonavPluginPrivate::~MonavPluginPrivate()
+{
+    stopDaemon();
+}
+
 bool MonavPluginPrivate::isDaemonRunning() const
 {
     QLocalSocket socket;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic