diff options
Diffstat (limited to 'src/corelib/mimetypes')
-rw-r--r-- | src/corelib/mimetypes/qmimedatabase.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/corelib/mimetypes/qmimedatabase.cpp b/src/corelib/mimetypes/qmimedatabase.cpp index f90fd12e3b..edc414fa0a 100644 --- a/src/corelib/mimetypes/qmimedatabase.cpp +++ b/src/corelib/mimetypes/qmimedatabase.cpp @@ -79,7 +79,12 @@ QMimeDatabasePrivate::~QMimeDatabasePrivate() qDeleteAll(m_providers); } -Q_CORE_EXPORT int qmime_secondsBetweenChecks = 5; // exported for the unit test +#ifdef QT_BUILD_INTERNAL +Q_CORE_EXPORT +#else +static const +#endif +int qmime_secondsBetweenChecks = 5; bool QMimeDatabasePrivate::shouldCheck() { |