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 4f7e0e941..bc20fb486 100644
--- a/src/gui/userpalette.h
+++ b/src/gui/userpalette.h
@@ -157,7 +157,7 @@ class UserPalette final : public Palette, public ListModel
* @return the requested color
*/
inline const Color &getColor(UserColorIdT type,
- const unsigned int alpha = 255U)
+ const unsigned int alpha)
A_WARN_UNUSED
{
if (CAST_SIZE(type) >= mColors.size())
@@ -239,7 +239,7 @@ class UserPalette final : public Palette, public ListModel
const unsigned rgb,
GradientTypeT grad,
const std::string &text,
- int delay = GRADIENT_DELAY);
+ int delay);
void addLabel(const UserColorIdT type,
const std::string &text);