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

List:       kde-commits
Subject:    [kde-workspace] plasma/generic/applets/systemtray/package/contents/ui: remove dead code
From:       Marco Martin <notmart () gmail ! com>
Date:       2014-02-28 10:22:14
Message-ID: E1WJKa6-0008GP-Qq () scm ! kde ! org
[Download RAW message or body]

Git commit 7215462a387bd568d419eeb18ed42abf51860f58 by Marco Martin.
Committed on 28/02/2014 at 10:20.
Pushed by mart into branch 'master'.

remove dead code

M  +0    -3    plasma/generic/applets/systemtray/package/contents/ui/TaskDelegate.qml
M  +1    -16   plasma/generic/applets/systemtray/package/contents/ui/main.qml

http://commits.kde.org/kde-workspace/7215462a387bd568d419eeb18ed42abf51860f58

diff --git a/plasma/generic/applets/systemtray/package/contents/ui/TaskDelegate.qml \
b/plasma/generic/applets/systemtray/package/contents/ui/TaskDelegate.qml index \
                609e144..7d07516 100644
--- a/plasma/generic/applets/systemtray/package/contents/ui/TaskDelegate.qml
+++ b/plasma/generic/applets/systemtray/package/contents/ui/TaskDelegate.qml
@@ -40,9 +40,6 @@ QtExtraComponents.MouseEventListener {
     property bool isHiddenItem: false
     property int location: plasmoid.location
 
-    onTaskChanged: {
-        //print("******************* Task changed:" + task.taskId + " " + task.name)
-    }
 
 
     onClicked: {
diff --git a/plasma/generic/applets/systemtray/package/contents/ui/main.qml \
b/plasma/generic/applets/systemtray/package/contents/ui/main.qml index \
                03c47f8..d27f986 100644
--- a/plasma/generic/applets/systemtray/package/contents/ui/main.qml
+++ b/plasma/generic/applets/systemtray/package/contents/ui/main.qml
@@ -51,6 +51,7 @@ Item {
 
     property bool debug: plasmoid.configuration.debug
 
+    //a pointer to the Task* that is the current one expanded, that shows full ui
     property QtObject expandedTask: null;
 
 
@@ -87,20 +88,4 @@ Item {
         rootItem: plasmoid
     }
 
-// FIXME: Doesn't work, parenting problems and no model available
-//     Timer {
-//         interval: 4000
-//         onTriggered: {
-//             if (expandedLoader.source == "") {
-//                 expandedLoader.setSource("ExpandedRepresentation.qml", { \
                'anchors.fill': parent, 'root': root });
-//                 //expandedLoader.item.host = host;
-//             }
-//         }
-//     }
-//
-//
-//     Loader {
-//         id: expandedLoader
-//     }
-
 }
\ No newline at end of file


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

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