mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Constify.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31388 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b43aa05ff1
commit
74f6083a33
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user