summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/starwidget.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-25 14:27:39 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-26 19:27:03 -0700
commitf871b8dfac8d8afffdeed0efa64e74c29299b193 (patch)
tree4952f4cd5219986eb6d419325c2532bd20c1c33b /desktop-widgets/starwidget.cpp
parent484a50b6a817df60ab1650cf0739ade3a4928353 (diff)
downloadsubsurface-f871b8dfac8d8afffdeed0efa64e74c29299b193.tar.gz
cleanup: fix deprecated QFlags use
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/starwidget.cpp')
-rw-r--r--desktop-widgets/starwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/starwidget.cpp b/desktop-widgets/starwidget.cpp
index 8748d929b..a12a1e32b 100644
--- a/desktop-widgets/starwidget.cpp
+++ b/desktop-widgets/starwidget.cpp
@@ -108,7 +108,7 @@ static QImage grayImage(const QImage &coloredImg)
return img;
}
-StarWidget::StarWidget(QWidget *parent, Qt::WindowFlags f) : QWidget(parent, f),
+StarWidget::StarWidget(QWidget *parent) : QWidget(parent, QFlag(0)),
current(0),
readOnly(false)
{