diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2019-06-14 14:23:02 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-06-14 16:26:27 +0000 |
commit | a2632f90db2662b1b7cd4b0d0e4015b22aa05025 (patch) | |
tree | 937c4d74462b3041eed581dd8095deb4f67b2205 /src/gui/painting/qbrush.h | |
parent | cbd5a2dcb8969d0bd41f8a02204275e631231a60 (diff) |
QGradient: add a last-enum enumerator to the presets
It's needed to prepare qtdeclarative for the upcoming patch that
won't make QGradient accept illegal presets any more.
Change-Id: I4ca929e75214ebe24c7d762d0c37ca254c640c57
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/gui/painting/qbrush.h')
-rw-r--r-- | src/gui/painting/qbrush.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/painting/qbrush.h b/src/gui/painting/qbrush.h index ca51430cf4..43e1eb7472 100644 --- a/src/gui/painting/qbrush.h +++ b/src/gui/painting/qbrush.h @@ -371,6 +371,8 @@ public: GagarinView = 178, FabledSunset = 179, PerfectBlue = 180, + + NumPresets }; Q_ENUM(Preset) |