mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 23:36:59 -05:00
added queuedConnection type in fillDisplay() between RsGxsBroadcastWidget and RsGxsBroadCastBase.
This commit is contained in:
parent
5ffd7a2352
commit
abc5b840d2
@ -4,8 +4,9 @@
|
||||
RsGxsUpdateBroadcastWidget::RsGxsUpdateBroadcastWidget(RsGxsIfaceHelper *ifaceImpl, QWidget *parent, Qt::WindowFlags flags)
|
||||
: QWidget(parent, flags)
|
||||
{
|
||||
mBase = new RsGxsUpdateBroadcastBase(ifaceImpl, this);
|
||||
connect(mBase, SIGNAL(fillDisplay(bool)), this, SLOT(fillDisplay(bool)));
|
||||
mBase = new RsGxsUpdateBroadcastBase(ifaceImpl, this);
|
||||
// The Queued connection is here to circumvent an apparent mutex problem in Qt
|
||||
connect(mBase, SIGNAL(fillDisplay(bool)), this, SLOT(fillDisplay(bool)),Qt::QueuedConnection);
|
||||
|
||||
mInterfaceHelper = ifaceImpl;
|
||||
}
|
||||
@ -14,6 +15,7 @@ RsGxsUpdateBroadcastWidget::~RsGxsUpdateBroadcastWidget()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void RsGxsUpdateBroadcastWidget::fillComplete()
|
||||
{
|
||||
mBase->fillComplete();
|
||||
|
Loading…
x
Reference in New Issue
Block a user