Commit 6df59136 authored by Chau Duong's avatar Chau Duong Committed by Elvis Angelaccio
Browse files

Apply Elvis suggestions

parent 238eb86d
......@@ -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));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment