QtcProcess: Fix runBlocking() on remote

There is no need for special handling when running on remote.

Change-Id: If30245d2ece475cb72df2be4390210d6b8c0c1aa
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Jarek Kobus
2022-05-02 20:06:46 +02:00
parent 19f5b835de
commit 9402841d99

View File

@@ -1783,14 +1783,6 @@ static bool isGuiThread()
void QtcProcess::runBlocking(EventLoopMode eventLoopMode) void QtcProcess::runBlocking(EventLoopMode eventLoopMode)
{ {
// FIXME: Implement properly
if (d->m_setup.m_commandLine.executable().needsDevice()) {
QtcProcess::start();
waitForFinished();
return;
};
if (processLog().isDebugEnabled()) { if (processLog().isDebugEnabled()) {
// Attach a dynamic property with info about blocking type // Attach a dynamic property with info about blocking type
setProperty(QTC_PROCESS_BLOCKING_TYPE, int(eventLoopMode)); setProperty(QTC_PROCESS_BLOCKING_TYPE, int(eventLoopMode));