mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 06:15:16 +00:00
Squash warning.
This commit is contained in:
parent
ecb65e7038
commit
1a830a6b1c
@ -950,7 +950,7 @@ void MenuDefinition::expandDocuments()
|
|||||||
// We cannot use a for loop as the buffer list cycles.
|
// We cannot use a for loop as the buffer list cycles.
|
||||||
do {
|
do {
|
||||||
bool const shown = guiApp->currentView()
|
bool const shown = guiApp->currentView()
|
||||||
? guiApp->currentView()->workArea(*b) : false;
|
? bool(guiApp->currentView()->workArea(*b)) : false;
|
||||||
if (!shown) {
|
if (!shown) {
|
||||||
QString label = toqstr(b->fileName().displayName(20));
|
QString label = toqstr(b->fileName().displayName(20));
|
||||||
if (!b->isClean())
|
if (!b->isClean())
|
||||||
|
Loading…
Reference in New Issue
Block a user