summaryrefslogtreecommitdiffstats
path: root/src/widgets/qpopupmenu.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-12-01 23:30:27 -0600
committerTimothy Pearson <[email protected]>2012-12-01 23:30:27 -0600
commit7aa5ac7f0e76c5b87e4ca837b75b3edd522a3372 (patch)
tree9eff0506756adca6934846467804a19f291b4509 /src/widgets/qpopupmenu.cpp
parentbb07131a9191affa4c66f6bc720a388f96343836 (diff)
downloadqt3-7aa5ac7f0e76c5b87e4ca837b75b3edd522a3372.tar.gz
qt3-7aa5ac7f0e76c5b87e4ca837b75b3edd522a3372.zip
Fix a number of build warnings that could lead to unstable operation
This breaks the ABI
Diffstat (limited to 'src/widgets/qpopupmenu.cpp')
-rw-r--r--src/widgets/qpopupmenu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/qpopupmenu.cpp b/src/widgets/qpopupmenu.cpp
index 086c423..8821537 100644
--- a/src/widgets/qpopupmenu.cpp
+++ b/src/widgets/qpopupmenu.cpp
@@ -1391,6 +1391,7 @@ void QPopupMenu::show()
performDelayedChanges();
updateSize(TRUE);
QWidget::show();
+ updateSize();
popupActive = -1;
if(style().styleHint(QStyle::SH_PopupMenu_SubMenuPopupDelay, this))
d->mouseMoveBuffer = QRegion();