mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-01 01:27:10 -04:00
gui: make notify respect no_icons setting for listwidget
This commit is contained in:
parent
4f13ba089c
commit
c38156ee82
1 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue