gui: MainWindow: handleSearchResults: Use PreviewGenerator::get
这个提交包含在:
		@@ -327,7 +327,7 @@ void MainWindow::handleSearchResults(const QVector<SearchResult> &results)
 | 
				
			|||||||
		bool exists = pathInfo.exists();
 | 
							bool exists = pathInfo.exists();
 | 
				
			||||||
		if(exists)
 | 
							if(exists)
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			if(result.fileData.absPath.endsWith(".pdf"))
 | 
								if(PreviewGenerator::get(pathInfo) != nullptr)
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
				this->previewableSearchResults.append(result);
 | 
									this->previewableSearchResults.append(result);
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 
 | 
				
			|||||||
		在新工单中引用
	
	屏蔽一个用户