Constify.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31388 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2009-09-13 18:12:11 +00:00
parent b43aa05ff1
commit 74f6083a33

View 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