diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-16 23:35:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-16 23:35:37 +0300 |
commit | ead2b06e3496b0cbe3a4a4c33a55c8262f02b73f (patch) | |
tree | 1017b9434f0bf905423f22b39fc683075040ac83 /src/gui/windows | |
parent | 37eb9896130e6606c93166d29c595480e02a785b (diff) | |
download | plus-ead2b06e3496b0cbe3a4a4c33a55c8262f02b73f.tar.gz plus-ead2b06e3496b0cbe3a4a4c33a55c8262f02b73f.tar.bz2 plus-ead2b06e3496b0cbe3a4a4c33a55c8262f02b73f.tar.xz plus-ead2b06e3496b0cbe3a4a4c33a55c8262f02b73f.zip |
In all places try get item color from ItemColorManager.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/mailviewwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/mailviewwindow.cpp b/src/gui/windows/mailviewwindow.cpp index ad7eb8a88..351a09112 100644 --- a/src/gui/windows/mailviewwindow.cpp +++ b/src/gui/windows/mailviewwindow.cpp @@ -109,6 +109,7 @@ MailViewWindow::MailViewWindow(const MailMessage *const message) : { ResourceManager *const resman = ResourceManager::getInstance(); const ItemInfo &item = ItemDB::get(message->itemId); + // +++ need use message->cards and ItemColorManager for colors Image *const image = resman->getImage(combineDye2( paths.getStringValue("itemIcons").append( item.getDisplay().image), |