diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-04-23 17:32:30 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-04-23 17:32:30 -0300 |
commit | 0ac67c42560c628a8a0fffe0fc4447a7ae12ef77 (patch) | |
tree | 54bc062650f4e01dedfd777e070764c55da608e0 /qt-ui/starwidget.cpp | |
parent | d72f4e470a42b50ad70a33fd4c389c1318b45bf1 (diff) | |
download | subsurface-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/starwidget.cpp')
-rw-r--r-- | qt-ui/starwidget.cpp | 2 |
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); |