Fix QML thumbnail item by using correct signal

This commit is contained in:
Martin Gräßlin 2012-01-30 10:23:20 +01:00
parent e824412535
commit fdc917d469

View file

@ -40,7 +40,7 @@ ThumbnailItem::ThumbnailItem(QDeclarativeItem* parent)
{
setFlags(flags() & ~QGraphicsItem::ItemHasNoContents);
if (effects) {
connect(effects, SIGNAL(windowAdded(EffectWindow*)), SLOT(effectWindowAdded()));
connect(effects, SIGNAL(windowAdded(KWin::EffectWindow*)), SLOT(effectWindowAdded()));
}
QTimer::singleShot(0, this, SLOT(init()));
}