diff --git a/src/qt/uiaction.cpp b/src/qt/uiaction.cpp index 0df9863b9c..1ac40a3916 100644 --- a/src/qt/uiaction.cpp +++ b/src/qt/uiaction.cpp @@ -31,9 +31,9 @@ using namespace QTest; // Apparently {mouse,key}Event() functions signature has changed from QWidget // to QWindow at some time during Qt5, but we don't know when exactly. We do -// know that they take QWindow for 5.3 and, presumably, later versions (but not +// know that they take QWindow for 5.2 and, presumably, later versions (but not // for whichever version this code was originally written for). -#if (QT_VERSION >= QT_VERSION_CHECK(5, 3, 0)) +#if (QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)) inline QWindow* argForEvents(QWidget* w) { return w->windowHandle(); } #else inline QWidget* argForEvents(QWidget* w) { return w; }