remove no needed check in ContextMenu

pull/1/head
Michail Vourlakos 8 years ago
parent 930c617c86
commit 7020e58289

@ -101,10 +101,8 @@ PlasmaComponents.ContextMenu {
function loadDynamicLaunchActions(launcherUrl) { function loadDynamicLaunchActions(launcherUrl) {
var lists = []; var lists = [];
//From Plasma 5.10 and frameworks 5.34 jumpLists and //From Plasma 5.10 and frameworks 5.34, places are also supported
//places are supported
if (Latte.WindowSystem.frameworksVersion >= 336384 if (Latte.WindowSystem.frameworksVersion >= 336384
&& (typeof backend.jumpListActions === "function")
&& (typeof backend.placesActions === "function")) { && (typeof backend.placesActions === "function")) {
lists = [ lists = [
backend.jumpListActions(launcherUrl, menu), backend.jumpListActions(launcherUrl, menu),

Loading…
Cancel
Save