summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qdrag.cpp
diff options
context:
space:
mode:
authorMorten Engvoldsen <morten.engvoldsen@nokia.com>2010-05-31 11:45:34 (GMT)
committerMorten Engvoldsen <morten.engvoldsen@nokia.com>2010-05-31 11:45:34 (GMT)
commit098eec2b9ba7218f1b595743476b73b61069d701 (patch)
treef9abeda0c1b2be1c3b079262b7a76f7c3b1afff5 /src/gui/kernel/qdrag.cpp
parent59e281bcc2bc24ae93eaf2751cc6fcc48bfd6302 (diff)
downloadQt-098eec2b9ba7218f1b595743476b73b61069d701.zip
Qt-098eec2b9ba7218f1b595743476b73b61069d701.tar.gz
Qt-098eec2b9ba7218f1b595743476b73b61069d701.tar.bz2
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/gui/kernel/qdrag.cpp')
-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 b57615c..2857bb5 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)