Fix crash on screen changes

BUG: 333313
REVIEW: 118324
This commit is contained in:
Martin Gräßlin 2014-05-26 11:06:20 +02:00
parent 7292938520
commit ae1d18779c

View file

@ -70,7 +70,7 @@ void Screens::init()
m_changedTimer->setInterval(100);
connect(m_changedTimer, SIGNAL(timeout()), SLOT(updateCount()));
connect(m_changedTimer, SIGNAL(timeout()), SIGNAL(changed()));
connect(this, &Screens::countChanged, this, &Screens::changed);
connect(this, &Screens::countChanged, this, &Screens::changed, Qt::QueuedConnection);
connect(this, &Screens::changed, this, &Screens::updateSize);
connect(this, &Screens::sizeChanged, this, &Screens::geometryChanged);