mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-13 16:45:49 -04:00
Fix Clang warnings: function 'update_children_background' is not needed
warning: function 'update_children_background' is not needed and will not be emitted [-Wunneeded-internal-declaration] static void update_children_background(QTreeWidgetItem *item, uint32_t type) ^
This commit is contained in:
parent
d8a73132c1
commit
a476a8138c
1 changed files with 1 additions and 1 deletions
|
@ -1233,6 +1233,7 @@ 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();
|
||||||
|
@ -1248,7 +1249,6 @@ static void update_children_background(QTreeWidgetItem *item, uint32_t type)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef SUSPENDED
|
|
||||||
static void set_tree_background(QTreeWidget *tree, uint32_t type)
|
static void set_tree_background(QTreeWidget *tree, uint32_t type)
|
||||||
{
|
{
|
||||||
std::cerr << "CirclesDialog set_tree_background()";
|
std::cerr << "CirclesDialog set_tree_background()";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue