|
|
@ -255,7 +255,6 @@ void SearchEngine::downloadSelectedItem(const QModelIndex& index){ |
|
|
|
// line to search results calling appendSearchResult().
|
|
|
|
// line to search results calling appendSearchResult().
|
|
|
|
void SearchEngine::readSearchOutput(){ |
|
|
|
void SearchEngine::readSearchOutput(){ |
|
|
|
QByteArray output = searchProcess->readAllStandardOutput(); |
|
|
|
QByteArray output = searchProcess->readAllStandardOutput(); |
|
|
|
std::cerr << searchProcess->readAllStandardError().data() << std::endl; |
|
|
|
|
|
|
|
output.replace("\r", ""); |
|
|
|
output.replace("\r", ""); |
|
|
|
QList<QByteArray> lines_list = output.split('\n'); |
|
|
|
QList<QByteArray> lines_list = output.split('\n'); |
|
|
|
if(!search_result_line_truncated.isEmpty()){ |
|
|
|
if(!search_result_line_truncated.isEmpty()){ |
|
|
|