mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 23:24:01 +02:00
Don't change window flags in Window::MainWindow::recountGeometryConstraints
This commit is contained in:
parent
6b084301be
commit
5cc4066b65
1 changed files with 0 additions and 6 deletions
|
@ -377,12 +377,6 @@ void MainWindow::updateShadowSize() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::recountGeometryConstraints() {
|
void MainWindow::recountGeometryConstraints() {
|
||||||
#ifdef Q_OS_LINUX
|
|
||||||
const auto hasShadow = this->hasShadow();
|
|
||||||
setWindowFlag(Qt::NoDropShadowWindowHint, hasShadow);
|
|
||||||
setAttribute(Qt::WA_OpaquePaintEvent, !hasShadow);
|
|
||||||
#endif // Q_OS_LINUX
|
|
||||||
|
|
||||||
updateShadowSize();
|
updateShadowSize();
|
||||||
updateMinimumSize();
|
updateMinimumSize();
|
||||||
updateControlsGeometry();
|
updateControlsGeometry();
|
||||||
|
|
Loading…
Add table
Reference in a new issue