diff options
Diffstat (limited to 'digikam/libs/widgets/common/paniconwidget.cpp')
-rw-r--r-- | digikam/libs/widgets/common/paniconwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/digikam/libs/widgets/common/paniconwidget.cpp b/digikam/libs/widgets/common/paniconwidget.cpp index a64ba02..d554969 100644 --- a/digikam/libs/widgets/common/paniconwidget.cpp +++ b/digikam/libs/widgets/common/paniconwidget.cpp @@ -247,7 +247,7 @@ void PanIconWidget::hideEvent(TQHideEvent *e) void PanIconWidget::mousePressEvent ( TQMouseEvent * e ) { - if ( (e->button() == Qt::LeftButton || e->button() == Qt::MidButton) && + if ( (e->button() == TQt::LeftButton || e->button() == TQt::MidButton) && m_localRegionSelection.contains( e->x(), e->y() ) ) { d->xpos = e->x(); @@ -261,7 +261,7 @@ void PanIconWidget::mousePressEvent ( TQMouseEvent * e ) void PanIconWidget::mouseMoveEvent ( TQMouseEvent * e ) { if ( d->moveSelection && - (e->state() == Qt::LeftButton || e->state() == Qt::MidButton) ) + (e->state() == TQt::LeftButton || e->state() == TQt::MidButton) ) { int newxpos = e->x(); int newypos = e->y(); |