mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 01:16:20 -05: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
@ -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…
Reference in New Issue
Block a user