--- a/src/qtgui/reslist.cpp
+++ b/src/qtgui/reslist.cpp
@@ -231,9 +231,16 @@
ConfIndexer::docsToPaths(docs, paths);
if (!paths.empty()) {
string path;
+ LOGDEB2(("ResList::iconUrl: source path [%s]\n", paths[0].c_str()));
if (thumbPathForUrl(cstr_fileu + paths[0], 128, path)) {
+ LOGDEB2(("ResList::iconUrl: icon path [%s]\n", path.c_str()));
return cstr_fileu + path;
+ } else {
+ LOGDEB2(("ResList::iconUrl: no icon: path [%s]\n",
+ path.c_str()));
}
+ } else {
+ LOGDEB(("ResList::iconUrl: docsToPaths failed\n"));
}
}
return ResListPager::iconUrl(config, doc);