diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-09-02 11:32:13 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-09-03 18:51:41 +0200 |
commit | 85b0335c419118629b05b7c8891b844387382700 (patch) | |
tree | 5bd8850adcf4d19158263f92738986c77a151469 /src/widgets | |
parent | f51b690e91bb2d7c8a03c5cef42abca37d97f8bb (diff) | |
download | qtbase-85b0335c419118629b05b7c8891b844387382700.tar.gz |
Tighten up QDialogButtonBox::ButtonLayout enum
... and the equivalent enum in QPlatformDialogHelper.
No need to keep numerical values the same anymore.
Remove ### Qt 6 comment.
Change-Id: Ib369ea6ca2362f6ab0f71a3a6c90c4adaa7f11cd
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/widgets/qdialogbuttonbox.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/widgets/widgets/qdialogbuttonbox.h b/src/widgets/widgets/qdialogbuttonbox.h index a9a1a3453d..46a1d616d7 100644 --- a/src/widgets/widgets/qdialogbuttonbox.h +++ b/src/widgets/widgets/qdialogbuttonbox.h @@ -113,8 +113,7 @@ public: MacLayout, KdeLayout, GnomeLayout, - // MacModelessLayout, - AndroidLayout = GnomeLayout + 2 // ### Qt 6: reorder + AndroidLayout }; QDialogButtonBox(QWidget *parent = nullptr); |