Fix old FIXME and avoid binding-loop.
commit069451cb72fc0e252cbc65ae1cc67ba473696623
authorMirco Müller <mirco.mueller@ubuntu.com>
dateThu 13 Nov 2014, 16:16 (12 years ago)
parent94699d2
qml/Notifications/Notifications.qml+1−2
@@ -41,8 +41,7 @@ ListView {
4141 property bool topmostIsFullscreen: false
4242 spacing: topmostIsFullscreen ? 0 : units.gu(.5)
4343
44− // FIXME: This doesn't make any sense and results in a binding loop
45− currentIndex: (currentIndex < 1 && count > 1) ? 1 : -1
44+ currentIndex: count > 1 ? 1 : -1
4645
4746 delegate: Notification {
4847 objectName: "notification" + index