adapt to new shell capabilities

This commit is contained in:
Aaron Seigo 2014-09-29 13:32:55 +02:00
parent 6686b22212
commit 238ad8e7b8

View file

@ -1,11 +1,12 @@
import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.shell 2.0 as Shell
import "../components"
Rectangle {
id: homescreen
width: 1024
height: 768
width: 1080
height: 1920
property Item containment;
property Item wallpaper;
@ -28,4 +29,11 @@ Rectangle {
}
}
}
Component.onCompleted: {
//configure the view behavior
desktop.windowType = Shell.Desktop.Window;
desktop.width = width;
desktop.height = height;
}
}