mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-11 07:40:21 -04:00
Fix Clang warnings: unused function 'set_item_background'
warning: unused function 'set_item_background' [-Wunused-function] static void set_item_background(QTreeWidgetItem *item, uint32_t type)
This commit is contained in:
parent
76f7573659
commit
4f939b2b76
1 changed files with 1 additions and 1 deletions
|
@ -1208,6 +1208,7 @@ void IdDialog::CircleListCustomPopupMenu( QPoint )
|
|||
contextMnu.exec(QCursor::pos());
|
||||
}
|
||||
|
||||
#ifdef SUSPENDED
|
||||
static void set_item_background(QTreeWidgetItem *item, uint32_t type)
|
||||
{
|
||||
QBrush brush;
|
||||
|
@ -1233,7 +1234,6 @@ static void set_item_background(QTreeWidgetItem *item, uint32_t type)
|
|||
item->setBackground (0, brush);
|
||||
}
|
||||
|
||||
#ifdef SUSPENDED
|
||||
static void update_children_background(QTreeWidgetItem *item, uint32_t type)
|
||||
{
|
||||
int count = item->childCount();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue