From 0ac67c42560c628a8a0fffe0fc4447a7ae12ef77 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Tue, 23 Apr 2013 17:32:30 -0300 Subject: Use the star from the resource file instead of hardcoding it's patch Signed-off-by: Tomaz Canabrava --- qt-ui/starwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui') 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); -- cgit v1.2.3-70-g09d2