summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2016-12-22 01:45:43 +0100
committerAleix Pol <[email protected]>2016-12-22 01:45:43 +0100
commit9dff18be39f709b0c290182c99fe3aab9041232e (patch)
treef9dd19bed56484921a680c4174fb96e0619c576e
parent205f7154ae9893bd0e8f49fbf6b329d4c24007f0 (diff)
Prefer an aliased property
-rw-r--r--discover/qml/UpdatesPage.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/qml/UpdatesPage.qml b/discover/qml/UpdatesPage.qml
index c4bd59e..cbc7152 100644
--- a/discover/qml/UpdatesPage.qml
+++ b/discover/qml/UpdatesPage.qml
@@ -209,7 +209,7 @@ DiscoverPage
}
}
- readonly property var secSinceUpdate: resourcesUpdatesModel.secsToLastUpdate
+ readonly property alias secSinceUpdate: resourcesUpdatesModel.secsToLastUpdate
state: ( updateModel.hasUpdates ? "has-updates"
: resourcesUpdatesModel.isProgressing ? "progressing"
: secSinceUpdate < 0 ? "unknown"