mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Apply Elvis suggestions
This commit is contained in:
parent
238eb86db7
commit
6df591368e
|
@ -230,9 +230,9 @@ void ContextMenuSettingsPage::showEvent(QShowEvent* event)
|
||||||
ContextMenuSettings::showCopyMoveMenu());
|
ContextMenuSettings::showCopyMoveMenu());
|
||||||
|
|
||||||
// Add other built-in actions
|
// Add other built-in actions
|
||||||
for (const QString& id : m_actionIds) {
|
for (const QString& id : qAsConst(m_actionIds)) {
|
||||||
QAction* action = m_actions->action(id);
|
QAction* action = m_actions->action(id);
|
||||||
if (action != nullptr) {
|
if (action) {
|
||||||
addRow(action->icon().name(), action->text(), id, entryVisible(id));
|
addRow(action->icon().name(), action->text(), id, entryVisible(id));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue