summaryrefslogtreecommitdiff
path: root/src/gui/userpalette.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/userpalette.h')
-rw-r--r--src/gui/userpalette.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/userpalette.h b/src/gui/userpalette.h
index 22203560c..1a7af763b 100644
--- a/src/gui/userpalette.h
+++ b/src/gui/userpalette.h
@@ -183,7 +183,7 @@ class UserPalette final : public Palette, public ListModel
*
* @return the gradient type of the color with the given index
*/
- inline GradientTypeT getGradientType(const UserColorId type)
+ inline GradientTypeT getGradientType(const UserColorIdT type)
const A_WARN_UNUSED
{ return mColors[static_cast<size_t>(type)].grad; }