diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-11-21 21:59:09 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-11-21 21:59:09 -0600 |
commit | 38755f930a7c05e1fad9845349845056fadcaa7c (patch) | |
tree | 855d9e5ac1cc7c3c5e6c44c9dc1f4b539eaaf563 /src/widgets | |
parent | 117b166ca68c8bf56dfdaae735ccfa33b7f30a16 (diff) | |
download | tqt3-38755f930a7c05e1fad9845349845056fadcaa7c.tar.gz tqt3-38755f930a7c05e1fad9845349845056fadcaa7c.zip |
Automated update from Qt3
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/qpopupmenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/qpopupmenu.cpp b/src/widgets/qpopupmenu.cpp index 4b129e8e0..a851abb2a 100644 --- a/src/widgets/qpopupmenu.cpp +++ b/src/widgets/qpopupmenu.cpp @@ -1222,7 +1222,7 @@ TQSize TQPopupMenu::updateSize(bool force_update, bool do_resize) continue; int itemh = itemHeight( mi ); - + sz = style().sizeFromContents(TQStyle::CT_PopupMenuItem, this, TQSize(0, itemh), TQStyleOption(mi,maxPMWidth)); sz = sz.expandedTo(TQSize(itemw, sz.height())); @@ -1233,7 +1233,7 @@ TQSize TQPopupMenu::updateSize(bool force_update, bool do_resize) y = contentsRect().y(); x +=itemw; } - if ( mi->widget() ) + if ( mi->widget() ) mi->widget()->setGeometry( x, y, itemw, mi->widget()->height() ); y += itemh; } |