mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-05 01:25:39 -05:00
added queuedConnection type in fillDisplay() between RsGxsBroadcastWidget and RsGxsBroadCastBase.
This commit is contained in:
parent
5ffd7a2352
commit
abc5b840d2
@ -5,7 +5,8 @@ RsGxsUpdateBroadcastWidget::RsGxsUpdateBroadcastWidget(RsGxsIfaceHelper *ifaceIm
|
|||||||
: QWidget(parent, flags)
|
: QWidget(parent, flags)
|
||||||
{
|
{
|
||||||
mBase = new RsGxsUpdateBroadcastBase(ifaceImpl, this);
|
mBase = new RsGxsUpdateBroadcastBase(ifaceImpl, this);
|
||||||
connect(mBase, SIGNAL(fillDisplay(bool)), this, SLOT(fillDisplay(bool)));
|
// 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;
|
mInterfaceHelper = ifaceImpl;
|
||||||
}
|
}
|
||||||
@ -14,6 +15,7 @@ RsGxsUpdateBroadcastWidget::~RsGxsUpdateBroadcastWidget()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void RsGxsUpdateBroadcastWidget::fillComplete()
|
void RsGxsUpdateBroadcastWidget::fillComplete()
|
||||||
{
|
{
|
||||||
mBase->fillComplete();
|
mBase->fillComplete();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user