Switch to unified view
a/src/qtgui/restable.cpp | b/src/qtgui/restable.cpp | ||
---|---|---|---|
... |
... |
||
115 | { |
115 | { |
116 | if (doc.ipath.empty()) { |
116 | if (doc.ipath.empty()) { |
117 | vector<Rcl::Doc> docs; |
117 | vector<Rcl::Doc> docs; |
118 | docs.push_back(doc); |
118 | docs.push_back(doc); |
119 | vector<string> paths; |
119 | vector<string> paths; |
120 | ConfIndexer::docsToPaths(docs, paths); |
120 | Rcl::docsToPaths(docs, paths); |
121 | if (!paths.empty()) { |
121 | if (!paths.empty()) { |
122 | string path; |
122 | string path; |
123 | if (thumbPathForUrl(cstr_fileu + paths[0], 128, path)) { |
123 | if (thumbPathForUrl(cstr_fileu + paths[0], 128, path)) { |
124 | return cstr_fileu + path; |
124 | return cstr_fileu + path; |
125 | } |
125 | } |