diff options
Diffstat (limited to 'src/gui/rulers/LoopRuler.cpp')
-rw-r--r-- | src/gui/rulers/LoopRuler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/rulers/LoopRuler.cpp b/src/gui/rulers/LoopRuler.cpp index 2d7d7f0..bcfe726 100644 --- a/src/gui/rulers/LoopRuler.cpp +++ b/src/gui/rulers/LoopRuler.cpp @@ -256,7 +256,7 @@ LoopRuler::mousePressEvent(TQMouseEvent *mE) TQt::ButtonState bs = mE->state(); setLoopingMode((bs & TQt::ShiftButton) != 0); - if (mE->button() == Qt::LeftButton) { + if (mE->button() == TQt::LeftButton) { double x = mE->pos().x() / getHScaleFactor() - m_currentXOffset - m_xorigin; if (m_loopingMode) { @@ -278,7 +278,7 @@ LoopRuler::mousePressEvent(TQMouseEvent *mE) void LoopRuler::mouseReleaseEvent(TQMouseEvent *mE) { - if (mE->button() == Qt::LeftButton) { + if (mE->button() == TQt::LeftButton) { if (m_loopingMode) { // Cancel the loop if there was no drag // @@ -319,7 +319,7 @@ LoopRuler::mouseDoubleClickEvent(TQMouseEvent *mE) RG_DEBUG << "LoopRuler::mouseDoubleClickEvent: x = " << x << ", looping = " << m_loopingMode << endl; - if (mE->button() == Qt::LeftButton && !m_loopingMode) + if (mE->button() == TQt::LeftButton && !m_loopingMode) emit setPlayPosition(m_grid->snapX(x)); } |