Merge branch 'StarWidgetResource' of git://github.com/tcanabrava/subsurface into Qt

This commit is contained in:
Dirk Hohndel 2013-04-23 14:05:43 -07:00
commit 26f7e82b62

View file

@ -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);