diff --git a/src/toplevel.cpp b/src/toplevel.cpp index abbff54..b848405 100644 --- a/src/toplevel.cpp +++ b/src/toplevel.cpp @@ -327,10 +327,10 @@ void TopLevel::resizeEvent (TQResizeEvent *) /** Handle mousePressEvent */ void TopLevel::mousePressEvent(TQMouseEvent *event) { - if (event->button() == Qt::LeftButton) { + if (event->button() == TQt::LeftButton) { showTicketList(); } - else if (event->button() == Qt::RightButton) { + else if (event->button() == TQt::RightButton) { updateMenu(); menu->popup(TQCursor::pos()); }