FIx warning.

This commit is contained in:
Martin Rotter 2017-06-16 07:54:43 +02:00
parent 1ff2316370
commit 7b454bdf09
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@ void TreeViewColumnsMenu::prepareMenu() {
}
void TreeViewColumnsMenu::actionTriggered(bool toggle) {
Q_UNUSED(toggle)
QAction *send_act = qobject_cast<QAction*>(sender());
header()->setSectionHidden(send_act->data().toInt(), !send_act->isChecked());