mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-30 09:56:14 -05:00
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:
parent
f746306975
commit
3fdd570f62
@ -149,6 +149,8 @@ protected:
|
|||||||
initStyleOption(&opt, pAction);
|
initStyleOption(&opt, pAction);
|
||||||
|
|
||||||
opt.palette.setColor(QPalette::ButtonText, QColor(Values [ACTION_TAGSINDEX_COLOR].toInt()));
|
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;
|
opt.rect = adjustedActionRect;
|
||||||
style()->drawControl(QStyle::CE_MenuItem, &opt, &p, this);
|
style()->drawControl(QStyle::CE_MenuItem, &opt, &p, this);
|
||||||
|
Loading…
Reference in New Issue
Block a user