mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-04-23 16:39:16 -04:00
gui: make notify respect no_icons setting for listwidget
This commit is contained in:
parent
4f13ba089c
commit
c38156ee82
@ -179,7 +179,12 @@ void UserNotify::update()
|
||||
}
|
||||
|
||||
if (mListItem) {
|
||||
mListItem->setIcon(getMainIcon(count > 0));
|
||||
switch (Settings->RshareSettings::getToolButtonStyle()) {
|
||||
case Qt::ToolButtonTextOnly:
|
||||
break;
|
||||
default:
|
||||
mListItem->setIcon(getMainIcon(count > 0));
|
||||
}
|
||||
mListItem->setText((count > 0) ? QString("%1 (%2)").arg(mButtonText).arg(count) : mButtonText);
|
||||
|
||||
QFont font = mListItem->font();
|
||||
|
Loading…
x
Reference in New Issue
Block a user