# # # patch "guitone/src/monotone/Monotone.cpp" # from [8a6cdf66ffed1707f9cbd7edeac076d02fb611dd] # to [37cbbf7e4353ac6e31ad206e37732cf85531e5b3] # ============================================================ --- guitone/src/monotone/Monotone.cpp 8a6cdf66ffed1707f9cbd7edeac076d02fb611dd +++ guitone/src/monotone/Monotone.cpp 37cbbf7e4353ac6e31ad206e37732cf85531e5b3 @@ -178,6 +178,11 @@ void Monotone::shutdownCurrentProcess() process->waitForFinished(); disconnect( + process, SIGNAL(readyReadStandardOutput()), + this, SLOT(readAndParseStdout()) + ); + + disconnect( process, SIGNAL(readyRead()), this, SLOT(readAndParseStdout()) ); @@ -222,7 +227,12 @@ void Monotone::setupNewProcess() process, SIGNAL(readyRead()), this, SLOT(readAndParseStdout()) ); - + + connect( + process, SIGNAL(readyReadStandardOutput()), + this, SLOT(readAndParseStdout()) + ); + if (mode == Workspace) { process->setWorkingDirectory(workDir); @@ -337,7 +347,7 @@ bool Monotone::executeCommand(const QStr commandNumber = writeStdin(command, options); SignalWaiter waiter(this, SIGNAL(commandFinished())); - + do { waiter.wait(500);