Bug fix. Updates through the server didn't update the read field in the DB.

This commit is contained in:
Luis Ángel San Martín
2017-10-20 17:42:25 +02:00
commit 02e7caf5c5
1047 changed files with 103574 additions and 0 deletions

View File

@ -0,0 +1,29 @@
import QtQuick 2.6
import QtGraphicalEffects 1.0
Item {
property bool read
signal readChangedByUser(bool read)
MouseArea {
anchors.fill: read_compact
onClicked: {
readChangedByUser(!read);
}
}
Image {
id: read_compact
source: "info-tick.png"
}
ColorOverlay {
anchors.fill: read_compact
source: read_compact
color: read ? readTickCheckedColor : readTickUncheckedColor
}
}