Image: [skip ci] Fix several clazy issues:
* Missing emit keyword on signal call ImageGui::ImageView::closeEventIgnored [-Wclazy-incorrect-emit]
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user