mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Const
This commit is contained in:
parent
82a8ed4d55
commit
10c7954ffb
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user