Improved debug message for locating toolbar icons. Patch from Dieter Jurzitza.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28000 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-01-05 19:05:46 +00:00
parent 7b659b4ecd
commit 78a05e4359

View File

@ -345,7 +345,11 @@ QString iconName(FuncRequest const & f, bool unknown)
if (res.exists(name2))
return path + name2;
LYXERR(Debug::GUI, "Cannot find icon for command \""
LYXERR(Debug::GUI, "Cannot find icon with filename "
<< "\"" << name1 << "\""
<< " or filename "
<< "\"" << name2 << "\""
<< " for command \""
<< lyxaction.getActionName(f.action)
<< '(' << to_utf8(f.argument()) << ")\"");