Switch to unified view
a/src/qtgui/reslist.cpp | b/src/qtgui/reslist.cpp | ||
---|---|---|---|
... |
... |
||
234 | { |
234 | { |
235 | if (doc.ipath.empty()) { |
235 | if (doc.ipath.empty()) { |
236 | vector<Rcl::Doc> docs; |
236 | vector<Rcl::Doc> docs; |
237 | docs.push_back(doc); |
237 | docs.push_back(doc); |
238 | vector<string> paths; |
238 | vector<string> paths; |
239 | ConfIndexer::docsToPaths(docs, paths);
|
239 | Rcl::docsToPaths(docs, paths);
|
240 | if (!paths.empty()) { |
240 | if (!paths.empty()) { |
241 | string path; |
241 | string path; |
242 | LOGDEB2("ResList::iconUrl: source path [" << paths[0] << "]\n"); |
242 | LOGDEB2("ResList::iconUrl: source path [" << paths[0] << "]\n"); |
243 | if (thumbPathForUrl(cstr_fileu + paths[0], 128, path)) { |
243 | if (thumbPathForUrl(cstr_fileu + paths[0], 128, path)) { |
244 | LOGDEB2("ResList::iconUrl: icon path [" << path << "]\n"); |
244 | LOGDEB2("ResList::iconUrl: icon path [" << path << "]\n"); |