mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
* 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
This commit is contained in:
parent
0c8e63f887
commit
02ee7dfb74
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user