Squash warning.

This commit is contained in:
Richard Heck 2012-07-22 10:47:20 -04:00
parent ecb65e7038
commit 1a830a6b1c

View File

@ -950,7 +950,7 @@ void MenuDefinition::expandDocuments()
// We cannot use a for loop as the buffer list cycles.
do {
bool const shown = guiApp->currentView()
? guiApp->currentView()->workArea(*b) : false;
? bool(guiApp->currentView()->workArea(*b)) : false;
if (!shown) {
QString label = toqstr(b->fileName().displayName(20));
if (!b->isClean())