diff options
author | Morten Sorvig <msorvig@trolltech.com> | 2009-09-11 05:27:16 (GMT) |
---|---|---|
committer | Morten Sorvig <msorvig@trolltech.com> | 2009-09-11 05:27:16 (GMT) |
commit | aad2316995d46cb8a1bfc2763c0617b0c7c92307 (patch) | |
tree | c3946842911e884fa7047d27d611d92faaab3655 /src/gui/kernel | |
parent | 53e1c8983b0093ce2b63f90eaee856f57961c00f (diff) | |
download | Qt-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.mm | 5 |
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; |