BaseWindow smol refactor

This commit is contained in:
fourtf
2019-09-08 21:45:46 +02:00
parent 3158ed4085
commit 4f356f80cf
14 changed files with 43 additions and 49 deletions
+1 -2
View File
@@ -43,8 +43,7 @@ namespace {
} // namespace
UserInfoPopup::UserInfoPopup()
: BaseWindow(nullptr, BaseWindow::Flags(BaseWindow::Frameless |
BaseWindow::FramelessDraggable))
: BaseWindow({BaseWindow::Frameless, BaseWindow::FramelessDraggable})
, hack_(new bool)
{
this->setStayInScreenRect(true);