diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-24 22:36:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-24 22:36:00 +0300 |
commit | 52039744fa2e5e116548e5236cd8ba5f5d81702a (patch) | |
tree | d367514cfc2a00c0b1f181dbfb5a8c3b0ca5785d /src/gui/windows/inventorywindow.cpp | |
parent | 35d796b927447760772d2720a221e21fdf9fd10e (diff) | |
download | ManaVerse-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.gz ManaVerse-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.bz2 ManaVerse-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.xz ManaVerse-52039744fa2e5e116548e5236cd8ba5f5d81702a.zip |
Remove default parameters from widget2.
Diffstat (limited to 'src/gui/windows/inventorywindow.cpp')
-rw-r--r-- | src/gui/windows/inventorywindow.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index cf9e2c3c7..27633f937 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -114,8 +114,8 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) : mSplit(false), mCompactMode(false) { - mSlotsBar->setColor(getThemeColor(ThemeColorId::SLOTS_BAR), - getThemeColor(ThemeColorId::SLOTS_BAR_OUTLINE)); + mSlotsBar->setColor(getThemeColor(ThemeColorId::SLOTS_BAR, 255U), + getThemeColor(ThemeColorId::SLOTS_BAR_OUTLINE, 255U)); if (inventory != nullptr) { @@ -231,8 +231,8 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) : mWeightBar = new ProgressBar(this, 0.0F, 100, 0, ProgressColorId::PROG_WEIGHT, "weightprogressbar.xml", "weightprogressbar_fill.xml"); - mWeightBar->setColor(getThemeColor(ThemeColorId::WEIGHT_BAR), - getThemeColor(ThemeColorId::WEIGHT_BAR_OUTLINE)); + mWeightBar->setColor(getThemeColor(ThemeColorId::WEIGHT_BAR, 255U), + getThemeColor(ThemeColorId::WEIGHT_BAR_OUTLINE, 255U)); // TRANSLATORS: outfits button tooltip mOutfitButton->setDescription(_("Outfits")); @@ -299,8 +299,8 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) : mWeightBar = new ProgressBar(this, 0.0F, 100, 0, ProgressColorId::PROG_WEIGHT, "weightprogressbar.xml", "weightprogressbar_fill.xml"); - mWeightBar->setColor(getThemeColor(ThemeColorId::WEIGHT_BAR), - getThemeColor(ThemeColorId::WEIGHT_BAR_OUTLINE)); + mWeightBar->setColor(getThemeColor(ThemeColorId::WEIGHT_BAR, 255U), + getThemeColor(ThemeColorId::WEIGHT_BAR_OUTLINE, 255U)); mSlotsBarCell = &place(3, 0, mSlotsBar, 3); mSortDropDownCell = &place(6, 0, mSortDropDown, 1); |