@@ -59,6 +59,11 @@ int startShell(int argc, const char** argv, void* server)
5959 application = new QGuiApplication(argc, (char**)argv);
6060 }
6161
62+ QString indicatorProfile = qgetenv("UNITY_INDICATOR_PROFILE");
63+ if (indicatorProfile.isEmpty()) {
64+ indicatorProfile = "phone";
65+ }
66+
6267 resolveIconTheme();
6368
6469 QStringList args = application->arguments();
@@ -88,6 +93,7 @@ int startShell(int argc, const char** argv, void* server)
8893 view->setTitle("Qml Phone Shell");
8994 view->engine()->setBaseUrl(QUrl::fromLocalFile(::qmlDirectory()));
9095 view->rootContext()->setContextProperty("applicationArguments", &qmlArgs);
96+ view->rootContext()->setContextProperty("indicatorProfile", indicatorProfile);
9197 if (args.contains(QLatin1String("-frameless"))) {
9298 view->setFlags(Qt::FramelessWindowHint);
9399 }