summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorMorten Sorvig <msorvig@trolltech.com>2009-09-11 05:27:16 (GMT)
committerMorten Sorvig <msorvig@trolltech.com>2009-09-11 05:27:16 (GMT)
commitaad2316995d46cb8a1bfc2763c0617b0c7c92307 (patch)
treec3946842911e884fa7047d27d611d92faaab3655 /src/gui/kernel
parent53e1c8983b0093ce2b63f90eaee856f57961c00f (diff)
downloadQt-aad2316995d46cb8a1bfc2763c0617b0c7c92307.zip
Qt-aad2316995d46cb8a1bfc2763c0617b0c7c92307.tar.gz
Qt-aad2316995d46cb8a1bfc2763c0617b0c7c92307.tar.bz2
Run on 10.3 Panther.
HIViewSetNeedsDisplayInRect was added in 10.4.
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qwidget_mac.mm5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/kernel/qwidget_mac.mm b/src/gui/kernel/qwidget_mac.mm
index c5418f6..09ac2c3 100644
--- a/src/gui/kernel/qwidget_mac.mm
+++ b/src/gui/kernel/qwidget_mac.mm
@@ -3781,7 +3781,10 @@ static void qt_mac_update_widget_posisiton(QWidget *q, QRect oldRect, QRect newR
(oldRect.isValid() == false || newRect.isValid() == false) ||
// the position update is a part of a drag-and-drop operation
- QDragManager::self()->object
+ QDragManager::self()->object ||
+
+ // we are on Panther (no HIViewSetNeedsDisplayInRect)
+ QSysInfo::MacintoshVersion < QSysInfo::MV_10_4
){
HIViewSetFrame(view, &bounds);
return;