diff --git a/src/dialogs/actiondialog.cpp b/src/dialogs/actiondialog.cpp index 78c6a13ca0..4de6f62d35 100644 --- a/src/dialogs/actiondialog.cpp +++ b/src/dialogs/actiondialog.cpp @@ -27,7 +27,9 @@ void ActionDialog::refreshUi() { QList menuList = _menuBar->findChildren(QString(), Qt::FindDirectChildrenOnly); - Q_FOREACH (QMenu *menu, menuList) { buildActionTreeForMenu(menu); } + Q_FOREACH (QMenu *menu, menuList) { + buildActionTreeForMenu(menu); + } ui->actionTreeWidget->setRootIsDecorated(false); ui->actionTreeWidget->expandAll(); @@ -62,7 +64,9 @@ void ActionDialog::buildActionTreeForMenu(QMenu *menu, QTreeWidgetItem *parentIt QList menuList = menu->findChildren(QString(), Qt::FindDirectChildrenOnly); // build the tree for that sub-menu - Q_FOREACH (QMenu *subMenu, menuList) { buildActionTreeForMenu(subMenu, menuItem); } + Q_FOREACH (QMenu *subMenu, menuList) { + buildActionTreeForMenu(subMenu, menuItem); + } // add all actions to the tree widget item Q_FOREACH (QAction *action, menu->actions()) { diff --git a/src/dialogs/scriptrepositorydialog.cpp b/src/dialogs/scriptrepositorydialog.cpp index c2b937a7df..177bc6caa5 100644 --- a/src/dialogs/scriptrepositorydialog.cpp +++ b/src/dialogs/scriptrepositorydialog.cpp @@ -130,7 +130,7 @@ void ScriptRepositoryDialog::addScriptTreeWidgetItem(const ScriptInfoJson &scrip ui->scriptTreeWidget->resizeColumnToContents(0); } -void ScriptRepositoryDialog::searchForUpdatesForScripts(const QList