summaryrefslogtreecommitdiff
path: root/gui/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/main.cpp')
-rw-r--r--gui/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/main.cpp b/gui/main.cpp
index b4051b2..c35f14d 100644
--- a/gui/main.cpp
+++ b/gui/main.cpp
@@ -204,6 +204,8 @@ int main(int argc, char **argv) {
ctx->setContextProperty("jsonModel", model);
ctx->setContextProperty("providers", providers);
ctx->setContextProperty("desktop", desktop);
+ // we're relying on the binary name, for now, to switch themes
+ ctx->setContextProperty("flavor", argv[0]);
/* set some useful flags */
ctx->setContextProperty("systrayVisible", !hideSystray);