summaryrefslogtreecommitdiffstats
path: root/korn/boxcontaineritem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korn/boxcontaineritem.cpp')
-rw-r--r--korn/boxcontaineritem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/korn/boxcontaineritem.cpp b/korn/boxcontaineritem.cpp
index e67296d5..386baaef 100644
--- a/korn/boxcontaineritem.cpp
+++ b/korn/boxcontaineritem.cpp
@@ -171,11 +171,11 @@ void BoxContainerItem::runCommand( const TQString& cmd )
void BoxContainerItem::mouseButtonPressed( TQt::ButtonState state )
{
int button;
- if( state & Qt::LeftButton )
+ if( state & TQt::LeftButton )
button = 0;
- else if( state & Qt::RightButton )
+ else if( state & TQt::RightButton )
button = 2;
- else if( state & Qt::MidButton )
+ else if( state & TQt::MidButton )
button = 1;
else
return; //Invalid mouse button