From 02ee7dfb741dcb2bd2aba0ed0f1a11f018364a70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Tue, 11 Dec 2007 10:48:48 +0000 Subject: [PATCH] * src/support/SystemcallPrivate.cpp: - QProcess::start and ProgressInterface::appendMessage take a Qstring as an argument. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22081 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/SystemcallPrivate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/support/SystemcallPrivate.cpp b/src/support/SystemcallPrivate.cpp index 4aa4b1a347..6bab2f5879 100644 --- a/src/support/SystemcallPrivate.cpp +++ b/src/support/SystemcallPrivate.cpp @@ -52,11 +52,11 @@ int SystemcallPrivate::start(const std::string & cmd, bool waitForFinished) if (progress) { progress->clearMessages(); progress->appendMessage(qt_("Starting process with command ")); - progress->appendMessage(cmd.c_str()); + progress->appendMessage(toqstr(cmd)); } process.setReadChannel(QProcess::StandardOutput); - process.start(cmd.c_str(), QStringList(), QIODevice::ReadOnly); + process.start(toqstr(cmd), QStringList(), QIODevice::ReadOnly); // wait some seconds until the process has started process.waitForStarted(10 * 1000); if (waitForFinished) {