summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget_p.h
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-05-04 11:25:53 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-05-04 11:25:53 (GMT)
commit2caeea74bbd393546b77a34c79361bbbc31a067b (patch)
tree7b362162cb103d34e730da9da987fd0311aeb9ec /src/gui/kernel/qwidget_p.h
parent8582f038ab46e26e04a97a481ebce6f89f5b3987 (diff)
downloadQt-2caeea74bbd393546b77a34c79361bbbc31a067b.zip
Qt-2caeea74bbd393546b77a34c79361bbbc31a067b.tar.gz
Qt-2caeea74bbd393546b77a34c79361bbbc31a067b.tar.bz2
Mac: QWidget::setMinimumSize does not work
The reason is that we never applied the new max min values on the native window itself. This patch does that, and also makes sure that we do this on the appropriate times (window creation, etc) Task-number: 219695 Reviewed-by: Trenton Schulz
Diffstat (limited to 'src/gui/kernel/qwidget_p.h')
-rw-r--r--src/gui/kernel/qwidget_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/kernel/qwidget_p.h b/src/gui/kernel/qwidget_p.h
index 8731551..8c6a234 100644
--- a/src/gui/kernel/qwidget_p.h
+++ b/src/gui/kernel/qwidget_p.h
@@ -252,7 +252,8 @@ public:
void macUpdateIsOpaque();
void setEnabled_helper_sys(bool enable);
bool isRealWindow() const;
- void applyMaxAndMinSizeConstraints(int &w, int &h);
+ void adjustWithinMaxAndMinSize(int &w, int &h);
+ void applyMaxAndMinSizeOnWindow();
#endif
void raise_sys();