mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +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());
|
||||
|
||||
// Add other built-in actions
|
||||
for (const QString& id : m_actionIds) {
|
||||
for (const QString& id : qAsConst(m_actionIds)) {
|
||||
QAction* action = m_actions->action(id);
|
||||
if (action != nullptr) {
|
||||
if (action) {
|
||||
addRow(action->icon().name(), action->text(), id, entryVisible(id));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue