mirror of
https://github.com/YACReader/yacreader
synced 2026-03-02 10:50:04 -05:00
Replace the info-*.png files used in qml with svg variants
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import QtQuick
|
||||
|
||||
import Qt5Compat.GraphicalEffects
|
||||
import QtQuick.Controls.impl
|
||||
|
||||
Item {
|
||||
|
||||
@ -15,14 +15,9 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
Image {
|
||||
ColorImage {
|
||||
id: read_compact
|
||||
source: "info-tick.png"
|
||||
}
|
||||
|
||||
ColorOverlay {
|
||||
anchors.fill: read_compact
|
||||
source: read_compact
|
||||
source: "info-tick.svg"
|
||||
color: read ? readTickCheckedColor : readTickUncheckedColor
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user