X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fbufferviewoverlay.cpp;h=dc439dc9a9322f477e52cc582c932861fb963f46;hp=3b49ff91db6a0c23e9e69642ac1a0e2ea545963e;hb=57e1cccf5a990b83bc8bde7959e85dec99db50a7;hpb=8b4716dbe562fdea8f5d135880e050277fcec96e diff --git a/src/client/bufferviewoverlay.cpp b/src/client/bufferviewoverlay.cpp index 3b49ff91..dc439dc9 100644 --- a/src/client/bufferviewoverlay.cpp +++ b/src/client/bufferviewoverlay.cpp @@ -56,7 +56,9 @@ void BufferViewOverlay::addView(int viewId) { viewInitialized(config); } else { disconnect(config, SIGNAL(initDone()), this, SLOT(viewInitialized())); - connect(config, SIGNAL(initDone()), this, SLOT(viewInitialized())); + // we use a queued connection here since manipulating the connection list of a sending object + // doesn't seem to be such a good idea while executing a connected slots. + connect(config, SIGNAL(initDone()), this, SLOT(viewInitialized()), Qt::QueuedConnection); } }