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:
Phenom 2017-04-07 19:29:27 +02:00 committed by csoler
parent 76f7573659
commit 4f939b2b76

View File

@ -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();