summaryrefslogtreecommitdiffstats
path: root/src/gui/imagewidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/imagewidget.cpp')
-rw-r--r--src/gui/imagewidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/imagewidget.cpp b/src/gui/imagewidget.cpp
index 3fe7353..69e0560 100644
--- a/src/gui/imagewidget.cpp
+++ b/src/gui/imagewidget.cpp
@@ -179,7 +179,7 @@ void ImageWidget::mousePressEvent(TQMouseEvent* event_) {
if(event_->button() == Qt::LeftButton) {
// Store the position of the mouse press.
// check if position is inside the label
- if(m_label->tqgeometry().tqcontains(event_->pos())) {
+ if(m_label->tqgeometry().contains(event_->pos())) {
m_dragStart = event_->pos();
} else {
m_dragStart = TQPoint();