diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-12-08 19:51:42 +0100 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-12-08 19:54:35 +0100 |
commit | 68e9db0776225168bbb52d164b05b784466a28d8 (patch) | |
tree | 525687324ff88b17522bfec5691799d5677dd497 /gui/main.cpp | |
parent | 371ee5167ce5e6fccc5a2a159343658f01ba74f7 (diff) |
[ui] theming stub
Diffstat (limited to 'gui/main.cpp')
-rw-r--r-- | gui/main.cpp | 2 |
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); |