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

List:       kde-commits
Subject:    branches/KDE/4.4/kdebase/workspace/plasma/generic/applets/devicenotifier
From:       Jacopo De Simoi <wilderkde () gmail ! com>
Date:       2010-06-21 8:30:09
Message-ID: 20100621083009.63F61AC8DA () svn ! kde ! org
[Download RAW message or body]

SVN commit 1140633 by jacopods:

Revert last commit, I'll see if I can find a proper way to backport.

CCBUG:223925


 M  +0 -5      deviceitem.cpp  
 M  +0 -5      deviceitem.h  
 M  +1 -1      notifierdialog.cpp  


--- branches/KDE/4.4/kdebase/workspace/plasma/generic/applets/devicenotifier/deviceitem.cpp \
#1140632:1140633 @@ -415,11 +415,6 @@
     }
 }
 
-DeviceItem::State DeviceItem::state() const
-{
-    return m_state;
-}
-
 void DeviceItem::triggerBusyWidget()
 {
     m_mainLayout->removeItem(m_leftActionIcon);
--- branches/KDE/4.4/kdebase/workspace/plasma/generic/applets/devicenotifier/deviceitem.h \
#1140632:1140633 @@ -183,11 +183,6 @@
         void setBusy();
 
         /**
-        * Gets the state of the device
-        **/
-        State state() const;
-
-        /**
         * Update colors on a theme change
         **/
         void updateColors();
--- branches/KDE/4.4/kdebase/workspace/plasma/generic/applets/devicenotifier/notifierdialog.cpp \
#1140632:1140633 @@ -727,7 +727,7 @@
 
 void NotifierDialog::updateFreeSpace(DeviceItem *item)
 {
-    if (item->isMounted() && (item->state() == DeviceItem::Idle)) {
+    if (item->isMounted()) {
         Solid::Device device(item->udi());
         Solid::StorageAccess *access = device.as<Solid::StorageAccess>();
         if (access) {


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

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