forked from qt-creator/qt-creator
VcsCommand: Do not use QueuedConnection for the output proxy
This causes messages reordering. For example: Amended "9036e2103c". 08:55 Executing in ...: git commit -F /tmp/QtCreator.i12936 --amend Change-Id: Ifb3466cdd0c441b7597339451661b416dcdc1fb4 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
203644bf28
commit
7e37ddd416
@@ -44,20 +44,15 @@ VcsCommand::VcsCommand(const QString &workingDirectory,
|
||||
VcsOutputWindow *outputWindow = VcsOutputWindow::instance();
|
||||
|
||||
connect(proxy, &Utils::OutputProxy::append,
|
||||
outputWindow, [](const QString &txt) { VcsOutputWindow::append(txt); },
|
||||
Qt::QueuedConnection);
|
||||
outputWindow, [](const QString &txt) { VcsOutputWindow::append(txt); });
|
||||
connect(proxy, &Utils::OutputProxy::appendSilently,
|
||||
outputWindow, &VcsOutputWindow::appendSilently,
|
||||
Qt::QueuedConnection);
|
||||
outputWindow, &VcsOutputWindow::appendSilently);
|
||||
connect(proxy, &Utils::OutputProxy::appendError,
|
||||
outputWindow, &VcsOutputWindow::appendError,
|
||||
Qt::QueuedConnection);
|
||||
outputWindow, &VcsOutputWindow::appendError);
|
||||
connect(proxy, &Utils::OutputProxy::appendCommand,
|
||||
outputWindow, &VcsOutputWindow::appendCommand,
|
||||
Qt::QueuedConnection);
|
||||
outputWindow, &VcsOutputWindow::appendCommand);
|
||||
connect(proxy, &Utils::OutputProxy::appendMessage,
|
||||
outputWindow, &VcsOutputWindow::appendMessage,
|
||||
Qt::QueuedConnection);
|
||||
outputWindow, &VcsOutputWindow::appendMessage);
|
||||
|
||||
return proxy;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user