[Gui] remove superfluous nullptr checks
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user