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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/dataengines/soliddevice
From:       Alessandro Diaferia <alediaferia () gmail ! com>
Date:       2009-08-21 10:01:08
Message-ID: 1250848868.385816.10033.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1013933 by adiaferia:

immediately update free space and hd temp in order to let applets be aware of the \
status change of the device

 M  +2 -4      soliddeviceengine.cpp  


--- trunk/KDE/kdebase/workspace/plasma/dataengines/soliddevice/soliddeviceengine.cpp \
#1013932:1013933 @@ -507,8 +507,6 @@
             setData(query, predicatemap[query]);
         }
     }
-
-    scheduleSourcesUpdated();
 }
 
 qlonglong SolidDeviceEngine::freeDiskSpace(const QString &mountPoint)
@@ -591,13 +589,13 @@
 
     devicemap.remove(udi);
     removeSource(udi);
-    scheduleSourcesUpdated();
 }
 
 void SolidDeviceEngine::deviceChanged(const QString& udi, const QString &property, \
const QVariant &value)  {
     setData(udi, property, value);
-    scheduleSourcesUpdated();
+    updateFreeSpace(udi);
+    updateHardDiskTemperature(udi);
 }
 
 #include "soliddeviceengine.moc"


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

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