From: tobtoht Date: Thu, 28 Oct 2021 16:57:53 +0000 (+0200) Subject: Don't use WindowModal on macOS (for now) X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=17519ef7c0c5021db5c6fe216d134695b23e70d0;p=gamesguru%2Ffeather.git Don't use WindowModal on macOS (for now) --- diff --git a/src/components.cpp b/src/components.cpp index 810c49f2..c7261ce3 100644 --- a/src/components.cpp +++ b/src/components.cpp @@ -118,5 +118,7 @@ void ClickableLabel::mousePressEvent(QMouseEvent* event) { WindowModalDialog::WindowModalDialog(QWidget *parent) : QDialog(parent) { +#ifndef Q_OS_MACOS this->setWindowModality(Qt::WindowModal); +#endif } \ No newline at end of file