summaryrefslogtreecommitdiffstats
path: root/cervisia/logtree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cervisia/logtree.cpp')
-rw-r--r--cervisia/logtree.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cervisia/logtree.cpp b/cervisia/logtree.cpp
index 864e31ee..06899a10 100644
--- a/cervisia/logtree.cpp
+++ b/cervisia/logtree.cpp
@@ -433,8 +433,8 @@ void LogTreeView::paintRevisionCell(TQPainter *p,
void LogTreeView::contentsMousePressEvent(TQMouseEvent *e)
{
- if ( e->button() == Qt::MidButton ||
- e->button() == Qt::LeftButton)
+ if ( e->button() == TQt::MidButton ||
+ e->button() == TQt::LeftButton)
{
int row = rowAt( e->pos().y() );
int col = columnAt( e->pos().x() );
@@ -446,8 +446,8 @@ void LogTreeView::contentsMousePressEvent(TQMouseEvent *e)
{
// Change selection for revision B if the middle mouse button or
// the left mouse button with the control key was pressed
- bool changeRevB = (e->button() == Qt::MidButton) ||
- (e->button() == Qt::LeftButton &&
+ bool changeRevB = (e->button() == TQt::MidButton) ||
+ (e->button() == TQt::LeftButton &&
e->state() & ControlButton);
emit revisionClicked(it.current()->m_logInfo.m_revision, changeRevB);