]> git.lyx.org Git - features.git/commitdiff
Improved debug message for locating toolbar icons. Patch from Dieter Jurzitza.
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 5 Jan 2009 19:05:46 +0000 (19:05 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 5 Jan 2009 19:05:46 +0000 (19:05 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28000 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiApplication.cpp

index 7430fb57d6602c506b4e09eaac19592585c9e0af..d3ca5d9d9cc60e8ef2576be330740d8d63e55490 100644 (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()) << ")\"");