diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-09-18 01:19:46 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-09-18 01:19:46 +0900 |
commit | 2df70f03d493f5226821dd2e1da3759e3abceb02 (patch) | |
tree | f105d7829be7401bd27b833e0e26cf64c6a62ad1 /src/dialogs | |
parent | f849f22528ee9eb5eeb1f9aa92822846b2b3e01f (diff) | |
download | qt3-2df70f03d493f5226821dd2e1da3759e3abceb02.tar.gz qt3-2df70f03d493f5226821dd2e1da3759e3abceb02.zip |
Revert "QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to updated admin module"
The original commit was a mistake and should not have been pushed.
This reverts commit f849f22528ee9eb5eeb1f9aa92822846b2b3e01f.
Diffstat (limited to 'src/dialogs')
-rw-r--r-- | src/dialogs/qfiledialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dialogs/qfiledialog.cpp b/src/dialogs/qfiledialog.cpp index 2d7f374..7666770 100644 --- a/src/dialogs/qfiledialog.cpp +++ b/src/dialogs/qfiledialog.cpp @@ -100,9 +100,9 @@ #endif #ifdef Q_WS_WIN -#ifdef TQT_THREAD_SUPPORT +#ifdef QT_THREAD_SUPPORT # include <private/qmutexpool_p.h> -#endif // TQT_THREAD_SUPPORT +#endif // QT_THREAD_SUPPORT #endif // Q_WS_WIN #if !defined(Q_OS_TEMP) @@ -527,7 +527,7 @@ static void resolveLibs() static bool triedResolve = FALSE; if ( !triedResolve ) { -#ifdef TQT_THREAD_SUPPORT +#ifdef QT_THREAD_SUPPORT // protect initialization QMutexLocker locker( qt_global_mutexpool ? qt_global_mutexpool->get( &triedResolve ) : 0 ); @@ -3203,7 +3203,7 @@ void QFileDialog::setDir( const QString & pathstr ) i++; QCString user; if ( i == 1 ) { -#if defined(TQT_THREAD_SUPPORT) && defined(_POSIX_THREAD_SAFE_FUNCTIONS) +#if defined(QT_THREAD_SUPPORT) && defined(_POSIX_THREAD_SAFE_FUNCTIONS) # ifndef _POSIX_LOGIN_NAME_MAX # define _POSIX_LOGIN_NAME_MAX 9 @@ -3222,7 +3222,7 @@ void QFileDialog::setDir( const QString & pathstr ) user = dr.mid( 1, i-1 ).local8Bit(); dr = dr.mid( i, dr.length() ); struct passwd *pw; -#if defined(TQT_THREAD_SUPPORT) && defined(_POSIX_THREAD_SAFE_FUNCTIONS) && !defined(Q_OS_FREEBSD) && !defined(Q_OS_OPENBSD) +#if defined(QT_THREAD_SUPPORT) && defined(_POSIX_THREAD_SAFE_FUNCTIONS) && !defined(Q_OS_FREEBSD) && !defined(Q_OS_OPENBSD) struct passwd mt_pw; char buffer[2048]; if ( ::getpwnam_r( user, &mt_pw, buffer, 2048, &pw ) == 0 && pw == &mt_pw ) |