添加无边框属性

This commit is contained in:
buxiaoqing 2022-07-21 14:33:49 +08:00
parent 5e373c27db
commit c0268f7003
1 changed files with 1 additions and 0 deletions

View File

@ -374,6 +374,7 @@ void powerwindow::showByWaylandHelper()
void powerwindow::set_window_position()
{
this->setWindowFlag(Qt::FramelessWindowHint);
kdk::UkuiStyleHelper::self()->removeHeader(this);
this->show();
QRect rect;