summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-20 23:44:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-20 23:44:47 +0300
commitcd86533db9e1be9316c8a0afe7ed9dc4ac2c286c (patch)
tree665729a935a8a000ce16ba7667d0f093f8d92551 /src/gui
parent1240589615918547fab96a8b9315a66d068e712e (diff)
downloadmanaverse-cd86533db9e1be9316c8a0afe7ed9dc4ac2c286c.tar.gz
manaverse-cd86533db9e1be9316c8a0afe7ed9dc4ac2c286c.tar.bz2
manaverse-cd86533db9e1be9316c8a0afe7ed9dc4ac2c286c.tar.xz
manaverse-cd86533db9e1be9316c8a0afe7ed9dc4ac2c286c.zip
Use separate icons palette.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popups/itempopup.cpp2
-rw-r--r--src/gui/windows/mailviewwindow.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/popups/itempopup.cpp b/src/gui/popups/itempopup.cpp
index ceb32cdaf..a97b2480b 100644
--- a/src/gui/popups/itempopup.cpp
+++ b/src/gui/popups/itempopup.cpp
@@ -178,7 +178,7 @@ void ItemPopup::setItem(const ItemInfo &item,
ResourceManager *const resman = ResourceManager::getInstance();
Image *const image = resman->getImage(combineDye2(
paths.getStringValue("itemIcons").append(
- item.getDisplay().image), item.getDyeColorsString(color)));
+ item.getDisplay().image), item.getDyeIconColorsString(color)));
mIcon->setImage(image);
if (image)
diff --git a/src/gui/windows/mailviewwindow.cpp b/src/gui/windows/mailviewwindow.cpp
index 351a09112..1ba871cd6 100644
--- a/src/gui/windows/mailviewwindow.cpp
+++ b/src/gui/windows/mailviewwindow.cpp
@@ -113,7 +113,7 @@ MailViewWindow::MailViewWindow(const MailMessage *const message) :
Image *const image = resman->getImage(combineDye2(
paths.getStringValue("itemIcons").append(
item.getDisplay().image),
- item.getDyeColorsString(ItemColor_one)));
+ item.getDyeIconColorsString(ItemColor_one)));
mIcon = new Icon(this, image);
if (message->itemAmount != 1)