Image: [skip ci] Fix several clazy issues:

* Missing emit keyword on signal call ImageGui::ImageView::closeEventIgnored [-Wclazy-incorrect-emit]
This commit is contained in:
wmayer
2022-07-25 01:21:23 +02:00
parent 45f534bc32
commit a399f044c0
2 changed files with 2 additions and 2 deletions

View File

@@ -332,7 +332,7 @@ void ImageView::closeEvent(QCloseEvent *e)
{
// ignore the close event
e->ignore();
closeEventIgnored(); // and emit a signal that we ignored it
Q_EMIT closeEventIgnored(); // and emit a signal that we ignored it
}
else
{

View File

@@ -188,7 +188,7 @@ void GLImageBox::paintGL()
// Emit a signal for owners to draw any graphics that is needed.
if (_image.hasValidData())
drawGraphics();
Q_EMIT drawGraphics();
// flush the OpenGL graphical pipeline
glFinish();