Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/murmur_grpcwrapper_protoc_plugin/main.cpp')
-rw-r--r--src/murmur_grpcwrapper_protoc_plugin/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/murmur_grpcwrapper_protoc_plugin/main.cpp b/src/murmur_grpcwrapper_protoc_plugin/main.cpp
index ea6e19112..e4bbc334c 100644
--- a/src/murmur_grpcwrapper_protoc_plugin/main.cpp
+++ b/src/murmur_grpcwrapper_protoc_plugin/main.cpp
@@ -143,7 +143,7 @@ public:
};
stream.Write(response, callback(cb));
while (!processed) {
- QCoreApplication::processEvents(QEventLoop::ExcludeSocketNotifiers, 100);
+ QCoreApplication::sendPostedEvents();
}
return success;
}
@@ -157,7 +157,7 @@ public:
};
stream.Read(&request, callback(cb));
while (!processed) {
- QCoreApplication::processEvents(QEventLoop::ExcludeSocketNotifiers, 100);
+ QCoreApplication::sendPostedEvents();
}
return success;
}