summaryrefslogtreecommitdiffstats
path: root/examples/widgets
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-11-10 14:45:37 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-11-11 17:48:50 +0100
commitc1088d493ea6255ead844505c5d5676362f00684 (patch)
treef6cbbbece0eedf4a19bec22f34a2c67a116649f4 /examples/widgets
parentb7f621ccadbac0f329c773913769e68db5efef38 (diff)
QMessageBox: Don't add details button to native dialog helper
The "Show Details..." button is not plumbed in any way to the native dialog, so when added to a native dialog it will just result in the dialog being dismissed, instead of revealing any extra content in the native dialog. Both the iOS and Android native message dialog implementations add the details text directly to the dialog, without any action to explicitly reveal it. Task-number: QTBUG-108153 Change-Id: I92e00c59b7836f633be44caebd534a47ac58be00 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/widgets')
-rw-r--r--examples/widgets/dialogs/standarddialogs/dialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/dialogs/standarddialogs/dialog.cpp b/examples/widgets/dialogs/standarddialogs/dialog.cpp
index 5ce992434a..c9faea03f6 100644
--- a/examples/widgets/dialogs/standarddialogs/dialog.cpp
+++ b/examples/widgets/dialogs/standarddialogs/dialog.cpp
@@ -12,8 +12,8 @@
Dialog::tr("<p>Click a button to close the message box. Pressing the Escape key " \
"will activate the detected escape button (if any).")
#define MESSAGE_DETAILS \
- Dialog::tr("If a message box has detailed text, the user can reveal it " \
- "by pressing the Show Details... button.")
+ Dialog::tr("Additional detailed text can be provided, which may require user " \
+ "action to be revealed.")
class DialogOptionsWidget : public QGroupBox