time-shutdown/0001-fix-title-bar-issue.patch
2020-12-01 15:53:59 +08:00

13 lines
571 B
Diff

diff -ur time-shutdown-1.1.1/src/widget.cpp time-shutdown-1.1.1~/src/widget.cpp
--- time-shutdown-1.1.1/src/widget.cpp 2019-05-27 15:48:18.000000000 +0800
+++ time-shutdown-1.1.1~/src/widget.cpp 2020-12-01 15:40:11.030885516 +0800
@@ -108,6 +108,8 @@
this->setWindowFlag(Qt::FramelessWindowHint);
this->setAttribute(Qt::WA_TranslucentBackground);
this->setWindowIcon(QIcon::fromTheme("ukui-time_shutdown", QIcon("://image/time_shutdown.svg")));
+ //hide title bar
+ this->setWindowFlags(Qt::FramelessWindowHint | Qt::Widget);
}
Widget::~Widget()