From 17519ef7c0c5021db5c6fe216d134695b23e70d0 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Thu, 28 Oct 2021 18:57:53 +0200 Subject: [PATCH] Don't use WindowModal on macOS (for now) --- src/components.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.52.0