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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/userpalette.h b/src/gui/userpalette.h
index 249b48a0a..61f4a1799 100644
--- a/src/gui/userpalette.h
+++ b/src/gui/userpalette.h
@@ -143,7 +143,7 @@ class UserPalette final : public Palette, public ListModel
*
* @param grad gradient type to set
*/
- void setGradient(const int type, const Palette::GradientType grad);
+ void setGradient(const int type, const GradientTypeT grad);
/**
* Sets the gradient delay for the specified color.
@@ -229,7 +229,7 @@ class UserPalette final : public Palette, public ListModel
* @param text identifier of color
*/
void addColor(const unsigned type, const unsigned rgb,
- GradientType grad, const std::string &text,
+ GradientTypeT grad, const std::string &text,
int delay = GRADIENT_DELAY);
};