diff options
Diffstat (limited to 'qt-ui/starwidget.h')
-rw-r--r-- | qt-ui/starwidget.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/qt-ui/starwidget.h b/qt-ui/starwidget.h index 79b01c951..3103a43eb 100644 --- a/qt-ui/starwidget.h +++ b/qt-ui/starwidget.h @@ -17,8 +17,8 @@ public: /*reimp*/ QSize sizeHint() const; - static QPixmap starActive(); - static QPixmap starInactive(); + static const QImage& starActive(); + static const QImage& starInactive(); signals: void valueChanged(int stars); @@ -39,9 +39,8 @@ private: int current; bool readOnly; - static QPixmap *activeStar; - static QPixmap *inactiveStar; - QPixmap grayImage(QPixmap *coloredImg); + static QImage activeStar; + static QImage inactiveStar; }; #endif // STARWIDGET_H |