diff options
author | Aleksandar Sasha Babic <aleksandar.babic@nokia.com> | 2010-05-07 10:06:37 (GMT) |
---|---|---|
committer | Aleksandar Sasha Babic <aleksandar.babic@nokia.com> | 2010-05-07 10:06:37 (GMT) |
commit | 0b56799601690a747c42dfbbefe95f18e837eb3f (patch) | |
tree | 9ce434c8c7df9b180a1fa07024522361ec6a5d7a /src | |
parent | 1e91d6b79cba488fa5c6f7d954de611903837f76 (diff) | |
download | Qt-0b56799601690a747c42dfbbefe95f18e837eb3f.zip Qt-0b56799601690a747c42dfbbefe95f18e837eb3f.tar.gz Qt-0b56799601690a747c42dfbbefe95f18e837eb3f.tar.bz2 |
Adding some error checking for setdefaultif
Task-number: QT-3284
Reviewed-by: TrustMe
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/kernel/qeventdispatcher_symbian.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_symbian.cpp b/src/corelib/kernel/qeventdispatcher_symbian.cpp index dea2f44..6448b06 100644 --- a/src/corelib/kernel/qeventdispatcher_symbian.cpp +++ b/src/corelib/kernel/qeventdispatcher_symbian.cpp @@ -579,7 +579,9 @@ void QSelectThread::updateActivatedNotifiers(QSocketNotifier::Type type, fd_set // on some devices we do get exception // close all exiting sockets // and reset default IAP - ::setdefaultif(0); + if(::setdefaultif(0) != KErrNone) // well we can't do much about it + qWarning("setdefaultif(0) failed"); + toRemove.append(i.key()); TRequestStatus *status = i.value(); QEventDispatcherSymbian::RequestComplete(d->threadData->symbian_thread_handle, status, KErrNone); |