mirror of
https://github.com/YACReader/yacreader
synced 2026-03-01 18:33:09 -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
|
||||
|
||||
Row {
|
||||
spacing: 0
|
||||
@ -16,14 +16,9 @@ Row {
|
||||
width: 25
|
||||
height: 20
|
||||
|
||||
Image {
|
||||
ColorImage {
|
||||
id: star
|
||||
source: "info-rating.png"
|
||||
}
|
||||
|
||||
ColorOverlay {
|
||||
anchors.fill: star
|
||||
source: star
|
||||
source: "info-rating.svg"
|
||||
color: index < (mouseIndex > 0 ? mouseIndex : rating) ? ratingSelectedColor : ratingUnselectedColor
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user