BlackBerry: Prevent superfluous removal of socket notifiers
authorBernd Weimer <bweimer@blackberry.com>
Tue, 5 Nov 2013 10:04:51 +0000 (11:04 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 6 Nov 2013 08:29:33 +0000 (09:29 +0100)
commitcab363afa347e22c5f738f15533489e0cd671d59
tree8b16ea85662e7d13937980099d8d44034cc754a1
parent427e398a7b7f3345fb4dcbc275b3ea29f211851b
BlackBerry: Prevent superfluous removal of socket notifiers

File descriptors have always been removed from bps before adding them,
which lead to an annoying warning.
"QEventDispatcherUNIX::registerSocketNotifier()" needs to be called
after "ioEvents()" to prevent this.

Back-port of qtbase/e9c51a1fdc9092e5589fd6f823ad0e704e293c88

Task-number: QTBUG-34536

Change-Id: I767a15cb2883bc820da5c858613ffb26abc002e4
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Petr NejedlĂ˝ <pnejedly@blackberry.com>
src/corelib/kernel/qeventdispatcher_blackberry.cpp