fix: missing radius on high version of kwin

don't set 0 on init

Log: 修复在高版本kwin上没有圆角
Task: https://pms.uniontech.com/zentao/task-view-97010.html
Influence: no
Change-Id: I0411f9452e1265b137222f34cc1e8703c9d374b2
This commit is contained in:
justforlxz 2022-01-05 20:01:25 +08:00
parent 5a00e46e1a
commit 4c2b4adf30
No known key found for this signature in database
GPG Key ID: DCAF15B4605D5BEB

View File

@ -114,7 +114,6 @@ MainWindow::MainWindow(QWidget *parent)
DPlatformWindowHandle::enableDXcbForWindow(this, true);
m_platformWindowHandle.setEnableBlurWindow(true);
m_platformWindowHandle.setTranslucentBackground(true);
m_platformWindowHandle.setWindowRadius(0);
m_platformWindowHandle.setShadowOffset(QPoint(0, 5));
m_platformWindowHandle.setShadowColor(QColor(0, 0, 0, 0.3 * 255));
@ -660,4 +659,3 @@ void MainWindow::sendNotifications()
.call();
});
}