mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 09:15:50 +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()) << ")\"");
|
||||
|
||||
if (unknown) {
|
||||
fname = libFileSearch("images/", "unknown", "png");
|
||||
fname = libFileSearch(QString("images/"), "unknown", "png");
|
||||
if (fname.exists())
|
||||
return toqstr(fname.absFilename());
|
||||
return QString(":/images/unknown.png");
|
||||
|
Loading…
Reference in New Issue
Block a user