mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Revert "global.cpp: Ensure qApp does not emit signal because of local QEventLoop"
This reverts commit dec80fb0f9
.
This commit is contained in:
parent
1b4e753645
commit
b01329bf36
|
@ -148,8 +148,6 @@ QVector<QPair<QSharedPointer<OrgKdeDolphinMainWindowInterface>, QStringList>> Do
|
|||
static KActivities::Consumer *consumer;
|
||||
std::call_once(one_consumer, []() {
|
||||
consumer = new KActivities::Consumer();
|
||||
// to prevent QGuiApplication::saveStateRequest
|
||||
const QSignalBlocker blocker(qApp);
|
||||
// ensures the consumer is ready for query
|
||||
QEventLoop loop;
|
||||
QObject::connect(consumer, &KActivities::Consumer::serviceStatusChanged, &loop, &QEventLoop::quit);
|
||||
|
|
Loading…
Reference in a new issue