on xenial help sign in
simplify
61b18b7Omer Akram
Dash/Apps/RunningApplicationTile.qml+1−6
@@ -138,12 +138,7 @@ AbstractButton {
138 anchors.right: units.gu(1)
138 anchors.right: units.gu(1)
139 anchors.top: units.gu(1)
139 anchors.top: units.gu(1)
140 anchors.bottom: units.gu(1)
140 anchors.bottom: units.gu(1)
141− onClicked: {
142− if (terminationModeEnabled)
143− requestedApplicationTermination(application)
141+ onClicked: requestedApplicationTermination(application)
144− else
145− requestedApplicationActivation(application)
146− }
147 }
142 }
148 }
143 }
149}
144}