summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMorten Engvoldsen <morten.engvoldsen@nokia.com>2010-05-31 13:45:34 +0200
committerMorten Engvoldsen <morten.engvoldsen@nokia.com>2010-05-31 13:45:34 +0200
commit098eec2b9ba7218f1b595743476b73b61069d701 (patch)
treef9abeda0c1b2be1c3b079262b7a76f7c3b1afff5 /src
parent59e281bcc2bc24ae93eaf2751cc6fcc48bfd6302 (diff)
Doc: Adding note about QDrag::exec()
Adding note to the QDrag::exec docs alerting the user about Windows speciffic behaviour. Task-number: QT-640
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qdrag.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/kernel/qdrag.cpp b/src/gui/kernel/qdrag.cpp
index b57615cd5f..2857bb53ac 100644
--- a/src/gui/kernel/qdrag.cpp
+++ b/src/gui/kernel/qdrag.cpp
@@ -253,7 +253,9 @@ Qt::DropAction QDrag::exec(Qt::DropActions supportedActions)
can take some time, but this function does not block the event
loop. Other events are still delivered to the application while
the operation is performed. On Windows, the Qt event loop is
- blocked while during the operation.
+ blocked while during the operation. However, QDrag::exec() on
+ Windows causes processEvents() to be called frequently to keep the GUI responsive.
+ If any loops or operations are called while a drag operation is active, it will block the drag operation.
*/
Qt::DropAction QDrag::exec(Qt::DropActions supportedActions, Qt::DropAction defaultDropAction)