summaryrefslogtreecommitdiffstats
path: root/qml/mw-ui.qml
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2019-01-01 09:07:53 +0100
committerPapoteur <papoteur@mageia.org>2019-01-01 12:10:10 +0100
commitb529a8218938384bb9c51f784ab301f0bca0d296 (patch)
tree38ed1264e90ab2716198e19662508dcc02d28a5c /qml/mw-ui.qml
parent5b8192657e5c07963c6769d02e49055c11b08ec2 (diff)
downloadmageiawelcome-b529a8218938384bb9c51f784ab301f0bca0d296.tar
mageiawelcome-b529a8218938384bb9c51f784ab301f0bca0d296.tar.gz
mageiawelcome-b529a8218938384bb9c51f784ab301f0bca0d296.tar.bz2
mageiawelcome-b529a8218938384bb9c51f784ab301f0bca0d296.tar.xz
mageiawelcome-b529a8218938384bb9c51f784ab301f0bca0d296.zip
Check application installable in real time, not stored
Diffstat (limited to 'qml/mw-ui.qml')
-rw-r--r--qml/mw-ui.qml6
1 files changed, 2 insertions, 4 deletions
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml
index f73315a..105f83f 100644
--- a/qml/mw-ui.qml
+++ b/qml/mw-ui.qml
@@ -474,8 +474,6 @@ Rectangle {
for( var i = 0;i < rowCount;i++ )
{
var entry = appList.get(i);
- entry.installable = installable.installable(entry.name, entry.inst_repo)
- console.log(entry.name, entry.inst_repo, entry.installable)
var pattern = new RegExp(group, "g");
if(pattern.test(entry.group) ) {
appListDM.items.insert(entry, "group");
@@ -483,6 +481,7 @@ Rectangle {
}
appListDM.filterOnGroup = "items";
}
+
Rectangle {
property var title: qsTr("Applications")
width: view.width; height: view.height
@@ -586,7 +585,6 @@ Rectangle {
{
var entry = appList.get(i);
var pattern = /featured/g;
- entry.installable = installable.installable(entry.name, entry.inst_repo)
if(pattern.test(entry.group) ) {
items.insert(entry, "group");
}
@@ -661,7 +659,7 @@ Rectangle {
color: "white"
}
}
- sourceComponent: (installable === "True") ? button : (command === "" ? dummy : launcher)
+ sourceComponent: ( pyinstallable.installable(name, inst_repo)) ? button : (command === "" ? dummy : launcher)
}
Loader {