mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-26 09:41:29 -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());
|
contextMnu.exec(QCursor::pos());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef SUSPENDED
|
||||||
static void set_item_background(QTreeWidgetItem *item, uint32_t type)
|
static void set_item_background(QTreeWidgetItem *item, uint32_t type)
|
||||||
{
|
{
|
||||||
QBrush brush;
|
QBrush brush;
|
||||||
@ -1233,7 +1234,6 @@ static void set_item_background(QTreeWidgetItem *item, uint32_t type)
|
|||||||
item->setBackground (0, brush);
|
item->setBackground (0, brush);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef SUSPENDED
|
|
||||||
static void update_children_background(QTreeWidgetItem *item, uint32_t type)
|
static void update_children_background(QTreeWidgetItem *item, uint32_t type)
|
||||||
{
|
{
|
||||||
int count = item->childCount();
|
int count = item->childCount();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user