diff options
author | axis <qt-info@nokia.com> | 2009-08-21 08:40:44 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2009-08-21 08:40:44 (GMT) |
commit | 741c4f5b5d6b46096aaefc6b77a8224aa66d4e7b (patch) | |
tree | 83c2ee8aae072cfa7e976d8640cb7e5217e23a64 /src/corelib/kernel/qeventdispatcher_symbian.cpp | |
parent | af6d0ac59424e75ee840b668f193a1d5973efe07 (diff) | |
download | Qt-741c4f5b5d6b46096aaefc6b77a8224aa66d4e7b.zip Qt-741c4f5b5d6b46096aaefc6b77a8224aa66d4e7b.tar.gz Qt-741c4f5b5d6b46096aaefc6b77a8224aa66d4e7b.tar.bz2 |
Fixed some comments and code style issues after review.
RevBy: Trust me
Diffstat (limited to 'src/corelib/kernel/qeventdispatcher_symbian.cpp')
-rw-r--r-- | src/corelib/kernel/qeventdispatcher_symbian.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_symbian.cpp b/src/corelib/kernel/qeventdispatcher_symbian.cpp index d7b9d92..7bca408 100644 --- a/src/corelib/kernel/qeventdispatcher_symbian.cpp +++ b/src/corelib/kernel/qeventdispatcher_symbian.cpp @@ -225,6 +225,7 @@ void QTimerActiveObject::RunL() { int error; QT_TRYCATCH_ERROR(error, Run()); + // All Symbian error codes are negative. if (error < 0) { CActiveScheduler::Current()->Error(error); // stop and report here, as this timer will be deleted on scope exit } @@ -275,7 +276,7 @@ void QTimerActiveObject::Start() } SymbianTimerInfo::SymbianTimerInfo() -: timerAO(0) + : timerAO(0) { } @@ -369,10 +370,8 @@ void QSelectThread::run() int ret; int savedSelectErrno; - //do { - ret = qt_socket_select(maxfd, &readfds, &writefds, &exceptionfds, 0); - savedSelectErrno = errno; - //} while (ret == 0); + ret = qt_socket_select(maxfd, &readfds, &writefds, &exceptionfds, 0); + savedSelectErrno = errno; char buffer; @@ -405,7 +404,6 @@ void QSelectThread::run() FD_ZERO(&readfds); FD_ZERO(&writefds); FD_ZERO(&exceptionfds); - { for (QHash<QSocketNotifier *, TRequestStatus *>::const_iterator i = m_AOStatuses.begin(); i != m_AOStatuses.end(); ++i) { @@ -434,7 +432,6 @@ void QSelectThread::run() } } // end for - } // traversed all, so update updateActivatedNotifiers(QSocketNotifier::Read, &readfds); |