forked from qt-creator/qt-creator
Utils: Disable workaround for 6.6.1
Task-number: QTBUG-118241 Change-Id: I419ec43db8f8a86e74262b36afc9a67e8eb324eb Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -60,10 +60,12 @@ static QMessageBox::StandardButton exec(
|
||||
if (text.contains("<a "))
|
||||
msgBox.setOptions(QMessageBox::Option::DontUseNativeDialog);
|
||||
|
||||
// Workaround for QTBUG-118241
|
||||
// Workaround for QTBUG-118241, fixed in Qt 6.6.1
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 6, 1)
|
||||
if (!buttonTextOverrides.isEmpty())
|
||||
msgBox.setOptions(QMessageBox::Option::DontUseNativeDialog);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
if (decider.shouldAskAgain) {
|
||||
|
Reference in New Issue
Block a user