diff --git a/src/Mod/Image/Gui/ImageView.cpp b/src/Mod/Image/Gui/ImageView.cpp index 548b0c1b7b..6e3a60b54b 100644 --- a/src/Mod/Image/Gui/ImageView.cpp +++ b/src/Mod/Image/Gui/ImageView.cpp @@ -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 { diff --git a/src/Mod/Image/Gui/OpenGLImageBox.cpp b/src/Mod/Image/Gui/OpenGLImageBox.cpp index 0d9231b6af..5a8f3d7d60 100644 --- a/src/Mod/Image/Gui/OpenGLImageBox.cpp +++ b/src/Mod/Image/Gui/OpenGLImageBox.cpp @@ -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();