summaryrefslogtreecommitdiffstats
path: root/examples/network/securesocketclient/sslclient.cpp
diff options
context:
space:
mode:
authorJohn Brooks <john.brooks@dereferenced.net>2014-10-15 15:55:36 -0600
committerShawn Rutledge <shawn.rutledge@digia.com>2014-10-29 21:11:58 +0100
commit136ccaa276574ba540f7fbed8173f7ae4c5680af (patch)
treebf8109e2f65bf903044717a2deb9ce1fec259921 /examples/network/securesocketclient/sslclient.cpp
parent0b49ce2f8e69046766bd9eb9adb903ab1d73285f (diff)
Ignore alert on an active window
When QWindow::alert() is called with a duration of 0, it calls QPlatformWindow::setAlertState(true), and expects the alert state to be reset when the window is next activated. Other calls to alert are ignored while alertState is still true. If alert was called for an active window, it would remain in the alert state until deactivated and activated again, and on some platforms calls to alert would be broken while deactivated. Alerting doesn't make sense for active windows, so we can simply ignore it, which was the behavior with Qt 4 on some platforms. Change-Id: Ia3324da4c89db711b63eb31cddf0bf742bb4e3b8 Found-By: Jan Noertemann <jan.noertemann@uni-dortmund.de> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Martin Gräßlin <mgraesslin@kde.org> Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'examples/network/securesocketclient/sslclient.cpp')
0 files changed, 0 insertions, 0 deletions