diff options
Diffstat (limited to 'knights/challenge_graph_view.cpp')
-rw-r--r-- | knights/challenge_graph_view.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/knights/challenge_graph_view.cpp b/knights/challenge_graph_view.cpp index 6c59b08..b28b3f3 100644 --- a/knights/challenge_graph_view.cpp +++ b/knights/challenge_graph_view.cpp @@ -60,13 +60,13 @@ void Challenge_Graph_View::contentsMousePressEvent(TQMouseEvent* e) { Challenge_Rectangle *cr = dynamic_cast<Challenge_Rectangle *>(*it); Challenge_Game *g = cr->getGame(); - if( e->button() == Qt::LeftButton ) + if( e->button() == TQt::LeftButton ) emit leftClick( g->id() ); - if( e->button() == Qt::RightButton ) + if( e->button() == TQt::RightButton ) emit rightClick( g, e->globalPos() ); return; } - if( e->button() == Qt::RightButton ) + if( e->button() == TQt::RightButton ) emit rightClick( NULL, e->globalPos() ); // We need to catch all right clicks } /////////////////////////////////////// |