summaryrefslogtreecommitdiff
path: root/libopie2
Side-by-side diff
Diffstat (limited to 'libopie2') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice_abstractmobiledevice.cpp2
-rw-r--r--libopie2/opiecore/device/odevice_zaurus.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/libopie2/opiecore/device/odevice_abstractmobiledevice.cpp b/libopie2/opiecore/device/odevice_abstractmobiledevice.cpp
index dbe9364..b446d05 100644
--- a/libopie2/opiecore/device/odevice_abstractmobiledevice.cpp
+++ b/libopie2/opiecore/device/odevice_abstractmobiledevice.cpp
@@ -68,2 +68,3 @@ bool OAbstractMobileDevice::suspend() {
}
+ qApp->processEvents(); // ensure the qcop call is being processed asap
@@ -89,2 +90,3 @@ bool OAbstractMobileDevice::suspend() {
}
+ qApp->processEvents(); // ensure the qcop call is being processed asap
diff --git a/libopie2/opiecore/device/odevice_zaurus.cpp b/libopie2/opiecore/device/odevice_zaurus.cpp
index 5d48488..2b2467c 100644
--- a/libopie2/opiecore/device/odevice_zaurus.cpp
+++ b/libopie2/opiecore/device/odevice_zaurus.cpp
@@ -717,2 +717,3 @@ bool Zaurus::suspend() {
}
+ qApp->processEvents(); // ensure the qcop call is being processed asap
@@ -739,2 +740,3 @@ bool Zaurus::suspend() {
}
+ qApp->processEvents(); // ensure the qcop call is being processed asap