This commit is contained in:
Richard Kimberly Heck 2021-01-25 14:35:37 -05:00
parent 82a8ed4d55
commit 10c7954ffb

View File

@ -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,