From 72849e2a6f973af3eeaa573a66635e37cc427bb0 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Thu, 28 Nov 2013 13:28:01 -0600 Subject: Fix remnant QMIN/QMAX to TQMIN/TQMAX. --- win/qeventloopex.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'win/qeventloopex.cpp') diff --git a/win/qeventloopex.cpp b/win/qeventloopex.cpp index 57c53a229..ac027b4ba 100644 --- a/win/qeventloopex.cpp +++ b/win/qeventloopex.cpp @@ -211,7 +211,7 @@ void QEventLoopEx::registerSocketNotifier( TQSocketNotifier *notifier ) FD_SET( sockfd, fds ); - d->sn_highest = QMAX( d->sn_highest, sockfd ); + d->sn_highest = TQMAX( d->sn_highest, sockfd ); LeaveCriticalSection(&d->m_csVec); #ifdef _DEBUG_EVENTLOOPEX @@ -267,7 +267,7 @@ void QEventLoopEx::unregisterSocketNotifier( TQSocketNotifier *notifier ) d->sn_highest = -1; for ( int i=0; i<3; i++ ) { if ( d->sn_vec[i].list && ! d->sn_vec[i].list->isEmpty() ) - d->sn_highest = QMAX( d->sn_highest, // list is fd-sorted + d->sn_highest = TQMAX( d->sn_highest, // list is fd-sorted d->sn_vec[i].list->getFirst()->fd ); } } @@ -412,7 +412,7 @@ void QEventLoopEx::run() } FD_SET(d->m_sockUpdate,&d->sn_vec[0].select_fds); - d->sn_highest = QMAX(d->sn_highest,(int)d->m_sockUpdate); + d->sn_highest = TQMAX(d->sn_highest,(int)d->m_sockUpdate); // FD_SET(m_sockUpdate,&sn_vec[1].select_fds); // FD_SET(m_sockUpdate,&sn_vec[2].select_fds); -- cgit v1.2.1