]> git.lyx.org Git - features.git/commitdiff
Constify.
authorEnrico Forestieri <forenr@lyx.org>
Sun, 13 Sep 2009 18:12:11 +0000 (18:12 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Sun, 13 Sep 2009 18:12:11 +0000 (18:12 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31388 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiToolbar.cpp

index 6c1de5387e0c4381ca2fcd828b3990b41dda41c0..0469db25151c5542926b60ce49d4b9565da55f57 100644 (file)
@@ -176,7 +176,7 @@ MenuButton::MenuButton(GuiToolbar * bar, ToolbarItem const & item, bool const st
        setStatusTip(label);
        setText(label);
        QString const name = toqstr(tbitem_.name_);
-       FileName fname = libFileSearch("images/math/", name, "png");
+       FileName const fname = libFileSearch("images/math/", name, "png");
        if (fname.exists())
            setIcon(QIcon(getPixmap("images/math/", name, "png")));
        else