mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
should fix eol problems on windows
This commit is contained in:
parent
699d4b1161
commit
5d64373798
2 changed files with 4 additions and 0 deletions
|
@ -318,6 +318,7 @@ void SearchEngine::downloadSelectedItem(const QModelIndex& index){
|
|||
// line to search results calling appendSearchResult().
|
||||
void SearchEngine::readSearchOutput(){
|
||||
QByteArray output = searchProcess->readAllStandardOutput();
|
||||
output.replace("\r", "");
|
||||
QList<QByteArray> lines_list = output.split('\n');
|
||||
QByteArray line;
|
||||
if(!search_result_line_truncated.isEmpty()){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue