summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-06-03 11:32:59 +0200
committerSimon Rettberg2019-06-03 11:32:59 +0200
commitb60fda92726803e251ba0a49baec4ed5f45140b6 (patch)
tree93defbc302be258e74c62590319a0647ed14fb49
parentAdd --dump-config (diff)
downloadvmchooser2-b60fda92726803e251ba0a49baec4ed5f45140b6.tar.gz
vmchooser2-b60fda92726803e251ba0a49baec4ed5f45140b6.tar.xz
vmchooser2-b60fda92726803e251ba0a49baec4ed5f45140b6.zip
Don't replace window flags, just add new one
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 4c0592f..e6939c2 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -114,7 +114,7 @@ int main(int argc, char *argv[]) {
w.downloadData(Config::get(Config::LOCATIONS));
w.setTheme();
- w.setWindowFlags(Qt::FramelessWindowHint);
+ w.setWindowFlag(Qt::FramelessWindowHint, true);
w.resize(width, height);
if (xsessions.size()) {