summaryrefslogtreecommitdiffstats
path: root/src/activeqt/container/qaxscript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/activeqt/container/qaxscript.cpp')
-rw-r--r--src/activeqt/container/qaxscript.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/activeqt/container/qaxscript.cpp b/src/activeqt/container/qaxscript.cpp
index 1d1711b..861edab 100644
--- a/src/activeqt/container/qaxscript.cpp
+++ b/src/activeqt/container/qaxscript.cpp
@@ -45,8 +45,6 @@
// Workaround for mingw-w64 bug #464
// See https://sourceforge.net/p/mingw-w64/bugs/464/
# define _NO_SCRIPT_GUIDS
-#elif defined(Q_CC_BOR) && __BORLANDC__ < 0x560
-# define QT_NO_QAXSCRIPT
#endif
#include <qapplication.h>
@@ -327,7 +325,7 @@ QWidget *QAxScriptSite::window() const
if (w)
w = w->window();
if (!w && qApp)
- w = qApp->activeWindow();
+ w = QApplication::activeWindow();
return w;
}