diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-08 04:40:39 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-08 04:41:10 +0200 |
commit | c17acf93cb4ebe698b0af8a38a1fd6d49a6be3cc (patch) | |
tree | dcbcde05b894da2ee7e83f2c62742565c2457b88 /src/gui/widgets/itemlinkhandler.cpp | |
parent | 7646d773e826b222b94b951f777256b23dbf98ac (diff) | |
download | manaplus-c17acf93cb4ebe698b0af8a38a1fd6d49a6be3cc.tar.gz manaplus-c17acf93cb4ebe698b0af8a38a1fd6d49a6be3cc.tar.bz2 manaplus-c17acf93cb4ebe698b0af8a38a1fd6d49a6be3cc.tar.xz manaplus-c17acf93cb4ebe698b0af8a38a1fd6d49a6be3cc.zip |
Add possible colors to item popups.
Diffstat (limited to 'src/gui/widgets/itemlinkhandler.cpp')
-rw-r--r-- | src/gui/widgets/itemlinkhandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/itemlinkhandler.cpp b/src/gui/widgets/itemlinkhandler.cpp index e09307a8e..87d708cd0 100644 --- a/src/gui/widgets/itemlinkhandler.cpp +++ b/src/gui/widgets/itemlinkhandler.cpp @@ -57,7 +57,8 @@ void ItemLinkHandler::handleLink(const std::string &link, if (id > 0) { const ItemInfo &itemInfo = ItemDB::get(id); - mItemPopup->setItem(itemInfo, true); + //+++ need add color to links? + mItemPopup->setItem(itemInfo, 1, true); if (mItemPopup->isVisible()) mItemPopup->setVisible(false); |