]> git.lyx.org Git - features.git/commitdiff
gcc warning...
authorAbdelrazak Younes <younes@lyx.org>
Sat, 15 Nov 2008 23:04:43 +0000 (23:04 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sat, 15 Nov 2008 23:04:43 +0000 (23:04 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27509 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiToolbar.cpp

index 6ff3e9636596977e683264dbda48d617ac5b8085..798c3b60f4a2c1309072065e051dda9f8db8f6da 100644 (file)
@@ -892,10 +892,10 @@ void GuiToolbar::update(bool in_math, bool in_table, bool in_review,
        bool in_mathmacrotemplate)
 {
        if (visibility_ & Toolbars::AUTO) {
-               bool show_it = in_math && (visibility_ & Toolbars::MATH)
-                       || in_table && (visibility_ & Toolbars::TABLE)
-                       || in_review && (visibility_ & Toolbars::REVIEW)
-                       || in_mathmacrotemplate && (visibility_ & Toolbars::MATHMACROTEMPLATE);
+               bool show_it = (in_math && (visibility_ & Toolbars::MATH))
+                       || (in_table && (visibility_ & Toolbars::TABLE))
+                       || (in_review && (visibility_ & Toolbars::REVIEW))
+                       || (in_mathmacrotemplate && (visibility_ & Toolbars::MATHMACROTEMPLATE));
                setVisible(show_it);
        }