FIx warning.
This commit is contained in:
parent
1ff2316370
commit
7b454bdf09
1 changed files with 2 additions and 0 deletions
|
|
@ -42,6 +42,8 @@ void TreeViewColumnsMenu::prepareMenu() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void TreeViewColumnsMenu::actionTriggered(bool toggle) {
|
void TreeViewColumnsMenu::actionTriggered(bool toggle) {
|
||||||
|
Q_UNUSED(toggle)
|
||||||
|
|
||||||
QAction *send_act = qobject_cast<QAction*>(sender());
|
QAction *send_act = qobject_cast<QAction*>(sender());
|
||||||
|
|
||||||
header()->setSectionHidden(send_act->data().toInt(), !send_act->isChecked());
|
header()->setSectionHidden(send_act->data().toInt(), !send_act->isChecked());
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue