the tags are colored in the menu with style cleanlooks

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3033 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-05-30 00:00:15 +00:00
parent f746306975
commit 3fdd570f62

View File

@ -149,6 +149,8 @@ protected:
initStyleOption(&opt, pAction);
opt.palette.setColor(QPalette::ButtonText, QColor(Values [ACTION_TAGSINDEX_COLOR].toInt()));
// needed for Cleanlooks
opt.palette.setColor(QPalette::Text, QColor(Values [ACTION_TAGSINDEX_COLOR].toInt()));
opt.rect = adjustedActionRect;
style()->drawControl(QStyle::CE_MenuItem, &opt, &p, this);