From: Richard Heck Date: Sun, 22 Jul 2012 14:47:20 +0000 (-0400) Subject: Squash warning. X-Git-Tag: 2.0.5~84 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1a830a6b1c4eb0e434e74af8cae83a8671655920;p=features.git Squash warning. --- diff --git a/src/frontends/qt4/Menus.cpp b/src/frontends/qt4/Menus.cpp index af7fe30519..d0f2e4586d 100644 --- a/src/frontends/qt4/Menus.cpp +++ b/src/frontends/qt4/Menus.cpp @@ -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())