diff --git a/src/frontends/qt/Menus.cpp b/src/frontends/qt/Menus.cpp index 266fb68d30..749d4c46e5 100644 --- a/src/frontends/qt/Menus.cpp +++ b/src/frontends/qt/Menus.cpp @@ -987,7 +987,7 @@ void MenuDefinition::expandDocuments() MenuItem item(MenuItem::Submenu, qt_("Hidden|H")); item.setSubmenu(MenuDefinition(qt_("Hidden|H"))); - Buffer * first = theBufferList().first(); + Buffer * const first = theBufferList().first(); if (!first) { add(MenuItem(MenuItem::Info, qt_("(No Documents Open)"))); return; @@ -1005,7 +1005,7 @@ void MenuDefinition::expandDocuments() if (!b.isClean()) label += "*"; if (b.notifiesExternalModification()) - label += QChar(0x26a0); + label += QChar(0x26a0); // warning sign ⚠ if (i < 10) label = QString::number(i) + ". " + label + '|' + QString::number(i); add(MenuItem(MenuItem::Command, label,