summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2010-08-04 14:02:44 (GMT)
committerkh1 <qt-info@nokia.com>2010-08-04 14:04:56 (GMT)
commit2838cfa7809e6b196a1ee1eb71df5894fc57dd6f (patch)
treee52e77b111b19531a4094e8e2c2caa9a17fda61c
parentae1c9def5cb22d88cf10b2a23d06bc38da12725b (diff)
downloadQt-2838cfa7809e6b196a1ee1eb71df5894fc57dd6f.zip
Qt-2838cfa7809e6b196a1ee1eb71df5894fc57dd6f.tar.gz
Qt-2838cfa7809e6b196a1ee1eb71df5894fc57dd6f.tar.bz2
Fix the remote command delimiter, this has cahnged at some point.
Task-number: QTBUG-12485 QTBUG-12651 Reviewed-by: ck
-rw-r--r--demos/qtdemo/menumanager.cpp2
-rw-r--r--tools/designer/src/designer/assistantclient.cpp2
-rw-r--r--tools/linguist/linguist/mainwindow.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/demos/qtdemo/menumanager.cpp b/demos/qtdemo/menumanager.cpp
index 7168b57..c9ffecb 100644
--- a/demos/qtdemo/menumanager.cpp
+++ b/demos/qtdemo/menumanager.cpp
@@ -313,7 +313,7 @@ void MenuManager::showDocInAssistant(const QString &name)
// Send command through remote control even if the process
// was started to activate assistant and bring it to front:
QTextStream str(&this->assistantProcess);
- str << "SetSource " << url << QLatin1Char('\0') << endl;
+ str << "SetSource " << url << QLatin1Char('\n') << endl;
}
void MenuManager::launchExample(const QString &name)
diff --git a/tools/designer/src/designer/assistantclient.cpp b/tools/designer/src/designer/assistantclient.cpp
index e47817f..bddaf63 100644
--- a/tools/designer/src/designer/assistantclient.cpp
+++ b/tools/designer/src/designer/assistantclient.cpp
@@ -101,7 +101,7 @@ bool AssistantClient::sendCommand(const QString &cmd, QString *errorMessage)
return false;
}
QTextStream str(m_process);
- str << cmd << QLatin1Char('\0') << endl;
+ str << cmd << QLatin1Char('\n') << endl;
return true;
}
diff --git a/tools/linguist/linguist/mainwindow.cpp b/tools/linguist/linguist/mainwindow.cpp
index 1611699..163ef54 100644
--- a/tools/linguist/linguist/mainwindow.cpp
+++ b/tools/linguist/linguist/mainwindow.cpp
@@ -1347,7 +1347,7 @@ void MainWindow::manual()
<< (QT_VERSION >> 16) << ((QT_VERSION >> 8) & 0xFF)
<< (QT_VERSION & 0xFF)
<< QLatin1String("/qdoc/linguist-manual.html")
- << QLatin1Char('\0') << endl;
+ << QLatin1Char('\n') << endl;
}
void MainWindow::about()