commit 14cb1d2b06fffbf1c995c7d0d43f75fa4c855dc9
Author: Koji Yokota <[email protected]>
Date: Fri Nov 21 21:52:54 2025 +0900
Reflect resolution of Qt 6.10 issue in Qt 6.10.1 (QTBUG-141689)
---
src/frontends/qt/GuiAlert.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/frontends/qt/GuiAlert.cpp b/src/frontends/qt/GuiAlert.cpp
index 1b017652fb..b082793389 100644
--- a/src/frontends/qt/GuiAlert.cpp
+++ b/src/frontends/qt/GuiAlert.cpp
@@ -32,7 +32,7 @@
#include <QInputDialog>
#include <QPushButton>
-#ifdef Q_OS_MACOS
+#if defined(Q_OS_MACOS) && QT_VERSION == QT_VERSION_CHECK(6, 10, 0)
#include <QOperatingSystemVersion>
#endif
@@ -115,8 +115,8 @@ buttonid doPrompt(docstring const & title, docstring const
& question,
QMessageBox msg_box(QMessageBox::Information,
toqstr(title), toqstr(question),
QMessageBox::NoButton, qApp->focusWidget());
-#ifdef Q_OS_MACOS
- // temporary workaround of the issue:
+#if defined(Q_OS_MACOS) && QT_VERSION == QT_VERSION_CHECK(6, 10, 0)
+ // workaround of the issue in Qt 6.10.0 on macOS 26 (Tahoe):
// https://bugreports.qt.io/browse/QTBUG-141689
if (QOperatingSystemVersion::current() <
QOperatingSystemVersion(QOperatingSystemVersion::MacOS, 26))
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs