1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-09 06:17:58 +00:00

- Fixed eol problems on Windows

This commit is contained in:
Christophe Dumez 2007-12-12 22:00:41 +00:00
parent 5d64373798
commit 204d9ff496

View File

@ -256,7 +256,7 @@ bool engineSelectDlg::checkInstalled(QString plugin_name) const {
nova.waitForStarted();
nova.waitForFinished();
QByteArray result = nova.readAll();
result = result.replace("\n\r", "");
result = result.replace("\r", "");
result = result.replace("\n", "");
QList<QByteArray> plugins_list = result.split(',');
return plugins_list.contains(plugin_name.toUtf8());
@ -288,7 +288,7 @@ void engineSelectDlg::loadSupportedSearchEngines(bool first) {
nova.waitForStarted();
nova.waitForFinished();
QByteArray result = nova.readAll();
result = result.replace("\n\r", "");
result = result.replace("\r", "");
result = result.replace("\n", "");
qDebug("read: %s", result.data());
QByteArray e;
@ -305,7 +305,7 @@ void engineSelectDlg::loadSupportedSearchEngines(bool first) {
nova.waitForStarted();
nova.waitForFinished();
result = nova.readAll();
result = result.replace("\n\r", "");
result = result.replace("\r", "");
result = result.replace("\n", "");
qDebug("read: %s", result.data());
unsigned int i = 0;