From 204d9ff4965432fa90d8e085f0353530d0f891b4 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 12 Dec 2007 22:00:41 +0000 Subject: [PATCH] - Fixed eol problems on Windows --- src/engineSelectDlg.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engineSelectDlg.cpp b/src/engineSelectDlg.cpp index 48979d67a..53a76228f 100644 --- a/src/engineSelectDlg.cpp +++ b/src/engineSelectDlg.cpp @@ -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 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;