mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Use the star from the resource file instead of hardcoding it's patch
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
d72f4e470a
commit
0ac67c4256
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ StarWidget::StarWidget(QWidget* parent, Qt::WindowFlags f):
|
||||||
current(0),
|
current(0),
|
||||||
halfStar(false)
|
halfStar(false)
|
||||||
{
|
{
|
||||||
QSvgRenderer render(QString("star.svg"));
|
QSvgRenderer render(QString(":star"));
|
||||||
QPixmap renderedStar(IMG_SIZE, IMG_SIZE);
|
QPixmap renderedStar(IMG_SIZE, IMG_SIZE);
|
||||||
|
|
||||||
renderedStar.fill(Qt::transparent);
|
renderedStar.fill(Qt::transparent);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue