]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiToolbar.cpp
* fix spelling in comments to please John.
[lyx.git] / 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