diff --git a/src/core/scheduler.cpp b/src/core/scheduler.cpp --- a/src/core/scheduler.cpp +++ b/src/core/scheduler.cpp @@ -902,19 +902,20 @@ void Scheduler::emitReparseSlaveConfiguration() { - // Do it immediately in this process, otherwise we might send a request before reparsing - // (e.g. when changing useragent in the plugin) + // Do it immediately in this process, otherwise we might send a request + // before reparsing (e.g. when changing useragent in the plugin) + schedulerPrivate()->m_ignoreConfigReparse = false; schedulerPrivate()->slotReparseSlaveConfiguration(QString(), QDBusMessage()); + // Then inform all ioslaves in other processes, not including ourselves schedulerPrivate()->m_ignoreConfigReparse = true; emit self()->reparseSlaveConfiguration(QString()); } void SchedulerPrivate::slotReparseSlaveConfiguration(const QString &proto, const QDBusMessage &) { if (m_ignoreConfigReparse) { //qDebug() << "Ignoring signal sent by myself"; - m_ignoreConfigReparse = false; return; }