From b60fda92726803e251ba0a49baec4ed5f45140b6 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 3 Jun 2019 11:32:59 +0200 Subject: Don't replace window flags, just add new one --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) { -- cgit v1.2.3-55-g7522