Commit 3d5dac17 authored by Lamarque Souza's avatar Lamarque Souza
Browse files

Attempt to prevent crash when restarting NetworkManager.

CCBUG: 317700
parent fa530226
......@@ -216,6 +216,11 @@ void NMDBusSettingsConnectionProvider::serviceOwnerChanged(const QString & chang
} else if (!oldOwner.isEmpty() && !newOwner.isEmpty()) {
clearConnections();
//emit disappeared(this);
// Call this before initConnections() to prevent crashes when
// signals triggered by clearConnections() are still being processed.
// https://bugs.kde.org/show_bug.cgi?id=317700
qApp->processEvents();
initConnections();
//emit appeared(this);
}
......
#ifndef PLASMA_NM_VERSION_H
#define PLASMA_NM_VERSION_H
static const char * plasmaNmVersion = "0.9.0.9 (nm09 20130530)";
static const char * plasmaNmVersion = "0.9.0.9 (nm09 20130610)";
#endif
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment