Replace new #ifdef Q_OS_LINUX in main_window.cpp added a month ago
This commit is contained in:
parent
876c57dcfb
commit
e0de4dbc5e
|
@ -365,7 +365,7 @@ void MainWindow::refreshTitleWidget() {
|
||||||
_titleShadow.destroy();
|
_titleShadow.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef Q_OS_LINUX
|
#if defined Q_OS_UNIX && !defined Q_OS_MAC
|
||||||
// setWindowFlag calls setParent(parentWidget(), newFlags), which
|
// setWindowFlag calls setParent(parentWidget(), newFlags), which
|
||||||
// always calls hide() explicitly, we have to show() the window back.
|
// always calls hide() explicitly, we have to show() the window back.
|
||||||
const auto hidden = isHidden();
|
const auto hidden = isHidden();
|
||||||
|
@ -378,7 +378,7 @@ void MainWindow::refreshTitleWidget() {
|
||||||
this,
|
this,
|
||||||
[=] { show(); });
|
[=] { show(); });
|
||||||
}
|
}
|
||||||
#endif // Q_OS_LINUX
|
#endif // Q_OS_UNIX && !Q_OS_MAC
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::updateMinimumSize() {
|
void MainWindow::updateMinimumSize() {
|
||||||
|
|
Loading…
Reference in New Issue