diff options
-rw-r--r-- | src/gui/userpalette.h | 2 | ||||
-rw-r--r-- | src/gui/windows/ministatuswindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/ministatuswindow.h | 2 |
3 files changed, 3 insertions, 3 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; } diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp index 73663c3a7..42a499771 100644 --- a/src/gui/windows/ministatuswindow.cpp +++ b/src/gui/windows/ministatuswindow.cpp @@ -175,7 +175,7 @@ MiniStatusWindow::~MiniStatusWindow() ProgressBar *MiniStatusWindow::createBar(const float progress, const int width, const int height, - const ThemeColorId textColor, + const ThemeColorIdT textColor, const ProgressColorIdT backColor, const std::string &restrict skin, const std::string &restrict skinFill, diff --git a/src/gui/windows/ministatuswindow.h b/src/gui/windows/ministatuswindow.h index dbe2b76e8..cae3cd414 100644 --- a/src/gui/windows/ministatuswindow.h +++ b/src/gui/windows/ministatuswindow.h @@ -112,7 +112,7 @@ class MiniStatusWindow final : public Window, ProgressBar *createBar(const float progress, const int width, const int height, - const ThemeColorId textColor, + const ThemeColorIdT textColor, const ProgressColorIdT backColor, const std::string &restrict skin, const std::string &restrict skinFill, |