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

List:       kde-commits
Subject:    KDE/kdelibs/solid/solid/backends/hal
From:       Jacopo De Simoi <wilderkde () gmail ! com>
Date:       2010-11-08 10:58:28
Message-ID: 20101108105828.0FD32AC89B () svn ! kde ! org
[Download RAW message or body]

SVN commit 1194228 by jacopods:

I think I committed this at least 3 times, but how come
it's still not there? 


 M  +1 -1      halvolume.cpp  


--- trunk/KDE/kdelibs/solid/solid/backends/hal/halvolume.cpp #1194227:1194228
@@ -37,7 +37,7 @@
 
 bool Volume::isIgnored() const
 {
-    HalDevice lock("/org/freedesktop/Hal/devices/computer");
+    static HalDevice lock("/org/freedesktop/Hal/devices/computer");
     bool isLocked = \
lock.property("info.named_locks.Global.org.freedesktop.Hal.Device.Storage.locked").toBool();
  
     if (m_device->property("volume.ignore").toBool() || isLocked ){


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

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