diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 3ab9f03..d432df7 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -444,9 +444,12 @@ void MainWindow::handleSearchResults(const QVector &results) bool exists = pathInfo.exists(); if(exists) { - if(PreviewGenerator::get(pathInfo) != nullptr) + if(!pathInfo.suffix().contains("htm")) // hack until we can preview them properly... { - this->previewableSearchResults.append(result); + if(PreviewGenerator::get(pathInfo) != nullptr) + { + this->previewableSearchResults.append(result); + } } } else