gui: MainWindow: handleSearchResults: Use PreviewGenerator::get
Tento commit je obsažen v:
rodič
1536781bda
revize
59aa02f0cd
@ -327,7 +327,7 @@ void MainWindow::handleSearchResults(const QVector<SearchResult> &results)
|
||||
bool exists = pathInfo.exists();
|
||||
if(exists)
|
||||
{
|
||||
if(result.fileData.absPath.endsWith(".pdf"))
|
||||
if(PreviewGenerator::get(pathInfo) != nullptr)
|
||||
{
|
||||
this->previewableSearchResults.append(result);
|
||||
}
|
||||
|
Načítá se…
x
Odkázat v novém úkolu
Zablokovat Uživatele