OSSP CVS Repository

ossp - Difference in ossp-pkg/as/as-gui/as_table.cpp versions 1.6 and 1.7
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/as/as-gui/as_table.cpp 1.6 -> 1.7

--- as_table.cpp 2002/12/06 16:16:07     1.6
+++ as_table.cpp 2002/12/09 16:44:37     1.7
@@ -39,9 +39,9 @@
 {
     if (pObject == horizontalHeader() && pEvent->type() == QEvent::MouseButtonDblClick)
         return true;
-    if (pEvent->type() == QEvent::MouseButtonPress &&
-        (((QMouseEvent *)pEvent)->button() == QMouseEvent::RightButton) ||
-        (((QMouseEvent *)pEvent)->button() == QMouseEvent::MidButton))
+    if (pEvent->type() == QEvent::MouseButtonPress &&   // Ignore mid, right clicks
+        ((QMouseEvent *)pEvent)->button() == QMouseEvent::RightButton ||
+        ((QMouseEvent *)pEvent)->button() == QMouseEvent::MidButton)
         return true;
     else if (pEvent->type() == QEvent::KeyPress) {
         if (((QKeyEvent *)pEvent)->key() == Qt::Key_Tab) {          // Handle tab key

CVSTrac 2.0.1