summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-04-23 17:32:30 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-04-23 17:32:30 -0300
commit0ac67c42560c628a8a0fffe0fc4447a7ae12ef77 (patch)
tree54bc062650f4e01dedfd777e070764c55da608e0 /qt-ui
parentd72f4e470a42b50ad70a33fd4c389c1318b45bf1 (diff)
downloadsubsurface-0ac67c42560c628a8a0fffe0fc4447a7ae12ef77.tar.gz
Use the star from the resource file instead of hardcoding it's patch
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/starwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/starwidget.cpp b/qt-ui/starwidget.cpp
index 457946feb..866fb5834 100644
--- a/qt-ui/starwidget.cpp
+++ b/qt-ui/starwidget.cpp
@@ -70,7 +70,7 @@ StarWidget::StarWidget(QWidget* parent, Qt::WindowFlags f):
current(0),
halfStar(false)
{
- QSvgRenderer render(QString("star.svg"));
+ QSvgRenderer render(QString(":star"));
QPixmap renderedStar(IMG_SIZE, IMG_SIZE);
renderedStar.fill(Qt::transparent);