[Gui] remove superfluous nullptr checks

This commit is contained in:
Uwe
2022-07-18 03:17:42 +02:00
parent 53571f7196
commit 316a869b26
22 changed files with 32 additions and 32 deletions

View File

@@ -831,7 +831,7 @@ void DlgCustomToolbarsImp::moveUpCustomCommand(const QString& name, const QByteA
continue;
}
}
if (before != nullptr) {
if (before) {
QList<QAction*> group = getActionGroup(*it);
bars.front()->removeAction(*it);
bars.front()->insertAction(before, *it);