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

List:       kde-commits
Subject:    [kde-workspace/heenamahour/gsoc] plasma/desktop/applets/window-list/contents/ui: removed unused vari
From:       heena mahour <heena393 () gmail ! com>
Date:       2013-06-30 17:28:04
Message-ID: E1UtLPw-0000ig-NS () scm ! kde ! org
[Download RAW message or body]

Git commit a621959f55bd3f54ba4b38850c700a3f2b34f4a5 by heena mahour.
Committed on 30/06/2013 at 17:27.
Pushed by heenamahour into branch 'heenamahour/gsoc'.

removed unused variable k

M  +1    -0    plasma/desktop/applets/window-list/contents/ui/Menu.qml
M  +1    -2    plasma/desktop/applets/window-list/contents/ui/main.qml

http://commits.kde.org/kde-workspace/a621959f55bd3f54ba4b38850c700a3f2b34f4=
a5

diff --git a/plasma/desktop/applets/window-list/contents/ui/Menu.qml b/plas=
ma/desktop/applets/window-list/contents/ui/Menu.qml
index 3e9e8f7..68cbc26 100644
--- a/plasma/desktop/applets/window-list/contents/ui/Menu.qml
+++ b/plasma/desktop/applets/window-list/contents/ui/Menu.qml
@@ -23,6 +23,7 @@ Item {
     property alias model: menuListView.model
     property alias section: menuListView.section
     property int iconSize: theme.smallMediumIconSize =

+    property alias highlight:menuListView.highlight
     property bool showDesktop: true
     signal itemSelected(string source)
     signal executeJob(string jobName, string source)
diff --git a/plasma/desktop/applets/window-list/contents/ui/main.qml b/plas=
ma/desktop/applets/window-list/contents/ui/main.qml
index 1cb48859..669bc4c 100644
--- a/plasma/desktop/applets/window-list/contents/ui/main.qml
+++ b/plasma/desktop/applets/window-list/contents/ui/main.qml
@@ -26,7 +26,6 @@ Item {
     property int maximumWidth
     property int maximumHeight
     property alias data: tasksSource.data;
-    property int k
     property variant desktopList: []
     property int iconSize: theme.smallMediumIconSize =

     property int defaultMargin:0
@@ -93,7 +92,7 @@ Item {
         }
         iconSize: main.iconSize
         showDesktop: main.showDesktop
-        onItemSelected: {main.executeJob("activate", source);k:1;}
+        onItemSelected: main.executeJob("activate", source);
         onExecuteJob: main.executeJob(jobName, source);
         onSetOnDesktop: main.setOnDesktop(source, desktop);
                 highlight: PlasmaComponents.Highlight {
[prev in list] [next in list] [prev in thread] [next in thread] 

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