]> git.lyx.org Git - features.git/commitdiff
Squash warning.
authorRichard Heck <rgheck@lyx.org>
Sun, 22 Jul 2012 14:47:20 +0000 (10:47 -0400)
committerRichard Heck <rgheck@lyx.org>
Sun, 22 Jul 2012 14:47:20 +0000 (10:47 -0400)
src/frontends/qt4/Menus.cpp

index af7fe305199dbf9435f695d354202a0a449f39e3..d0f2e4586d3715ed778e0a70ef02f5d9fbdf271a 100644 (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())