summaryrefslogtreecommitdiffstats
path: root/src/widgets/qpushbutton.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-02-27 02:13:42 -0600
committerTimothy Pearson <[email protected]>2012-02-27 02:13:42 -0600
commit520c05ef06ce203ad32470730f68402bc7719157 (patch)
tree8d0bb18bbbecb4c837e232848905e5819db84b81 /src/widgets/qpushbutton.cpp
parentb82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff)
downloadtqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz
tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip
Automated update from qt3
Diffstat (limited to 'src/widgets/qpushbutton.cpp')
-rw-r--r--src/widgets/qpushbutton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/qpushbutton.cpp b/src/widgets/qpushbutton.cpp
index cbb45e443..09e57b119 100644
--- a/src/widgets/qpushbutton.cpp
+++ b/src/widgets/qpushbutton.cpp
@@ -712,7 +712,7 @@ void TQPushButton::popupPressed()
#endif
if ( horizontal ) {
if ( topLeft ) {
- if ( mapToGlobal( TQPoint( 0, rect().bottom() ) ).y() + popup->sizeHint().height() <= qApp->desktop()->height() )
+ if ( mapToGlobal( TQPoint( 0, rect().bottom() ) ).y() + popup->sizeHint().height() <= tqApp->desktop()->height() )
popup->exec( mapToGlobal( rect().bottomLeft() ) );
else
popup->exec( mapToGlobal( rect().topLeft() - TQPoint( 0, popup->sizeHint().height() ) ) );
@@ -724,7 +724,7 @@ void TQPushButton::popupPressed()
}
} else {
if ( topLeft ) {
- if ( mapToGlobal( TQPoint( rect().right(), 0 ) ).x() + popup->sizeHint().width() <= qApp->desktop()->width() )
+ if ( mapToGlobal( TQPoint( rect().right(), 0 ) ).x() + popup->sizeHint().width() <= tqApp->desktop()->width() )
popup->exec( mapToGlobal( rect().topRight() ) );
else
popup->exec( mapToGlobal( rect().topLeft() - TQPoint( popup->sizeHint().width(), 0 ) ) );