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

List:       kde-commits
Subject:    [kde-workspace/KDE/4.8] plasma/generic/applets/devicenotifier/package/contents/ui: The dataengine
From:       Jacopo De Simoi <wilderkde () gmail ! com>
Date:       2012-01-16 19:42:54
Message-ID: 20120116194254.92562A60A6 () git ! kde ! org
[Download RAW message or body]

Git commit da116fffaaf504853147b5ad0f79520ab69c81a9 by Jacopo De Simoi.
Committed on 13/01/2012 at 18:11.
Pushed by jacopods into branch 'KDE/4.8'.

The dataengine is actually the model for our view

M  +1    -1    plasma/generic/applets/devicenotifier/package/contents/ui/devicenotifier.qml


http://commits.kde.org/kde-workspace/da116fffaaf504853147b5ad0f79520ab69c81a9

diff --git a/plasma/generic/applets/devicenotifier/package/contents/ui/devicenotifier.qml \
b/plasma/generic/applets/devicenotifier/package/contents/ui/devicenotifier.qml index \
                63e02c6..2214e83 100644
--- a/plasma/generic/applets/devicenotifier/package/contents/ui/devicenotifier.qml
+++ b/plasma/generic/applets/devicenotifier/package/contents/ui/devicenotifier.qml
@@ -257,7 +257,7 @@ Item {
                     return QIcon("emblem-mounted");
                 }
             }
-            mounted: sdSource.data[udi]["Accessible"] == true;
+            mounted: model["Accessible"]
 
             onLeftActionTriggered: {
                 operationName = mounted ? "unmount" : "mount";


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

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