mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-14 01:22:33 +00:00
backport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29425 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d6a4f320b4
commit
29cc2c79f9
@ -357,7 +357,7 @@ QString iconName(FuncRequest const & f, bool unknown)
|
|||||||
<< '(' << to_utf8(f.argument()) << ")\"");
|
<< '(' << to_utf8(f.argument()) << ")\"");
|
||||||
|
|
||||||
if (unknown) {
|
if (unknown) {
|
||||||
fname = libFileSearch("images/", "unknown", "png");
|
fname = libFileSearch(QString("images/"), "unknown", "png");
|
||||||
if (fname.exists())
|
if (fname.exists())
|
||||||
return toqstr(fname.absFilename());
|
return toqstr(fname.absFilename());
|
||||||
return QString(":/images/unknown.png");
|
return QString(":/images/unknown.png");
|
||||||
|
Loading…
Reference in New Issue
Block a user