summaryrefslogtreecommitdiffstats
path: root/qt-ui/starwidget.h
diff options
context:
space:
mode:
authorGravatar Giuseppe Bilotta <giuseppe.bilotta@gmail.com>2014-10-15 15:30:52 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-18 15:16:15 -0700
commit32ab2b34d39752693697f0f2a33032ceb3f5f3b4 (patch)
treec661c4b6609647f364d09eae609ff5b672fc9f20 /qt-ui/starwidget.h
parent72b256de629c7e4ef5c52d7a9ce62ebd68a77991 (diff)
downloadsubsurface-32ab2b34d39752693697f0f2a33032ceb3f5f3b4.tar.gz
Unify icon metrics
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/starwidget.h')
-rw-r--r--qt-ui/starwidget.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/qt-ui/starwidget.h b/qt-ui/starwidget.h
index 90310f041..989aa527d 100644
--- a/qt-ui/starwidget.h
+++ b/qt-ui/starwidget.h
@@ -7,11 +7,6 @@ enum StarConfig {
TOTALSTARS = 5
};
-struct StarMetrics {
- int size;
- int spacing;
-};
-
class StarWidget : public QWidget {
Q_OBJECT
public:
@@ -22,7 +17,6 @@ public:
static const QImage& starActive();
static const QImage& starInactive();
- static const StarMetrics& metrics();
signals:
void valueChanged(int stars);
@@ -45,7 +39,6 @@ private:
static QImage activeStar;
static QImage inactiveStar;
- static StarMetrics imgMetrics;
};
#endif // STARWIDGET_H