Skip to content

Commit

Permalink
Qt5: 'static void QCoreApplication::flush()' is deprecated since Qt 5…
Browse files Browse the repository at this point in the history
….9 [-Wdeprecated-declarations]
  • Loading branch information
wwmayer committed Jun 12, 2020
1 parent f027c9b commit 58f148a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Mod/Image/Gui/ImageView.cpp
Expand Up @@ -408,7 +408,9 @@ void ImageView::mouseDoubleClickEvent(QMouseEvent* cEvent)
// Mouse move event
void ImageView::mouseMoveEvent(QMouseEvent* cEvent)
{
#if QT_VERSION < 0x050900
QApplication::flush();
#endif

// Mouse event coordinates are relative to top-left of image view (including toolbar!)
// Get current cursor position relative to top-left of image box
Expand Down

0 comments on commit 58f148a

Please sign in to comment.