From a2632f90db2662b1b7cd4b0d0e4015b22aa05025 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Fri, 14 Jun 2019 14:23:02 +0200 Subject: 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 --- src/gui/painting/qbrush.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/painting/qbrush.h') 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) -- cgit v1.2.3