summaryrefslogtreecommitdiffstats
path: root/launcher/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/src/main.cpp')
-rw-r--r--launcher/src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/src/main.cpp b/launcher/src/main.cpp
index 563e883..77dee27 100644
--- a/launcher/src/main.cpp
+++ b/launcher/src/main.cpp
@@ -44,7 +44,9 @@ int main(int argc, char *argv[])
// mail.qml loading
QQmlApplicationEngine engine;
+ int apps = homescreenHandler->getRunnablesCount();
engine.rootContext()->setContextProperty(QStringLiteral("homescreenHandler"), homescreenHandler);
+ engine.rootContext()->setContextProperty(QStringLiteral("apps_len"), apps);
engine.load(QUrl(QStringLiteral("qrc:/Launcher.qml")));
homescreenHandler->getRunnables();