From ace322643b8fb4edde276de236a4d1a2b9af4846 Mon Sep 17 00:00:00 2001 From: Thiago Macieira <thiago.macieira@intel.com> Date: Thu, 19 Jun 2014 11:20:27 -0700 Subject: [PATCH] Don't use QT_STATIC_CONST here It makes no sense. Let's get rid of the macro. Change-Id: I82d56cd506cc041767889f6693e46aa44ed8eb7a Reviewed-by: Olivier Goffart <ogoffart@woboq.com> --- src/activeqt/control/qaxservermain.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/activeqt/control/qaxservermain.cpp b/src/activeqt/control/qaxservermain.cpp index 07156f4a..382ead12 100644 --- a/src/activeqt/control/qaxservermain.cpp +++ b/src/activeqt/control/qaxservermain.cpp @@ -53,11 +53,11 @@ static bool qAxActivity = false; static HANDLE hEventShutdown; #ifdef QT_DEBUG -QT_STATIC_CONST DWORD dwTimeOut = 1000; -QT_STATIC_CONST DWORD dwPause = 500; +static const DWORD dwTimeOut = 1000; +static const DWORD dwPause = 500; #else -QT_STATIC_CONST DWORD dwTimeOut = 5000; // time for EXE to be idle before shutting down -QT_STATIC_CONST DWORD dwPause = 1000; // time to wait for threads to finish up +static const DWORD dwTimeOut = 5000; // time for EXE to be idle before shutting down +static const DWORD dwPause = 1000; // time to wait for threads to finish up #endif extern HANDLE hEventShutdown; -- GitLab