mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Silence warnings in starwidget.cpp
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a670181ed2
commit
b973d988dc
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ void StarWidget::mouseReleaseEvent(QMouseEvent *event)
|
|||
|
||||
void StarWidget::paintEvent(QPaintEvent *event)
|
||||
{
|
||||
Q_UNUSED(event)
|
||||
QPainter p(this);
|
||||
QImage star = hasFocus() ? focusedImage(starActive()) : starActive();
|
||||
QPixmap selected = QPixmap::fromImage(star);
|
||||
|
|
Loading…
Add table
Reference in a new issue