]> git.lyx.org Git - lyx.git/commitdiff
Further amend 168d3557 to satisfy GCC 4.6
authorScott Kostyshak <skostysh@lyx.org>
Sun, 9 Oct 2016 22:04:41 +0000 (18:04 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Sun, 9 Oct 2016 22:08:42 +0000 (18:08 -0400)
GCC 4.6 does not support non-static data member initializers.

As Guillaume points out, changing to static does not change the
intent.

src/frontends/qt4/GuiView.h

index a84b7382256de07564b7cb1242f6223dbd497bbb..d396421a61055b0624948fba6d72d562f25c71fb 100644 (file)
@@ -462,7 +462,7 @@ private:
        QLabel * version_control_;
 
        /// Minimum zoom percentage
-       unsigned int const zoom_min_ = 10;
+       static unsigned int const zoom_min_ = 10;
 
 };