@@ -17,7 +17,7 @@
1717import QtQuick 2.0
1818import Ubuntu.Components 0.1
1919
20−AbstractButton {
20+Item {
2121 id: emptyListItem
2222 width: parent ? parent.width : units.gu(31)
2323 height: body.height + bottomDividerLine.height
@@ -28,15 +28,6 @@ AbstractButton {
2828 */
2929 property bool selected: false
3030
31− /*!
32− \preliminary
33− Highlight the list item when it is pressed.
34− This is used to disable the highlighting of the full list item
35− when custom highlighting needs to be implemented (for example in
36− ListItem.Standard which can have a split).
37− */
38− property bool highlightWhenPressed: true
39−
4031 /*!
4132 \preliminary
4233 Set to show or hide the thin bottom divider line (drawn by the \l ThinDivider component).
@@ -119,7 +110,7 @@ AbstractButton {
119110 right: parent.right
120111 bottom: bottomDividerLine.top
121112 }
122− pressed: (emptyListItem.selected || (emptyListItem.highlightWhenPressed && emptyListItem.pressed)) ? "pressed" : ""
113+ pressed: emptyListItem.selected
123114 }
124115 }
125116}