summaryrefslogtreecommitdiffstats
path: root/qt-ui/starwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/starwidget.cpp')
-rw-r--r--qt-ui/starwidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/starwidget.cpp b/qt-ui/starwidget.cpp
index 30c38808c..12b400124 100644
--- a/qt-ui/starwidget.cpp
+++ b/qt-ui/starwidget.cpp
@@ -63,7 +63,8 @@ void StarWidget::setCurrentStars(int value)
StarWidget::StarWidget(QWidget* parent, Qt::WindowFlags f):
QWidget(parent, f),
- current(0)
+ current(0),
+ readOnly(false)
{
if (!activeStar) {
activeStar = new QPixmap();