Fix QML thumbnail item by using correct signal
This commit is contained in:
parent
e824412535
commit
fdc917d469
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ ThumbnailItem::ThumbnailItem(QDeclarativeItem* parent)
|
||||||
{
|
{
|
||||||
setFlags(flags() & ~QGraphicsItem::ItemHasNoContents);
|
setFlags(flags() & ~QGraphicsItem::ItemHasNoContents);
|
||||||
if (effects) {
|
if (effects) {
|
||||||
connect(effects, SIGNAL(windowAdded(EffectWindow*)), SLOT(effectWindowAdded()));
|
connect(effects, SIGNAL(windowAdded(KWin::EffectWindow*)), SLOT(effectWindowAdded()));
|
||||||
}
|
}
|
||||||
QTimer::singleShot(0, this, SLOT(init()));
|
QTimer::singleShot(0, this, SLOT(init()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue