[QGIS Commit] r10468 - trunk/qgis/src/app/attributetable
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sun Apr 5 06:32:27 EDT 2009
Author: jef
Date: 2009-04-05 06:32:27 -0400 (Sun, 05 Apr 2009)
New Revision: 10468
Modified:
trunk/qgis/src/app/attributetable/BeataView.cpp
Log:
fix a warning
Modified: trunk/qgis/src/app/attributetable/BeataView.cpp
===================================================================
--- trunk/qgis/src/app/attributetable/BeataView.cpp 2009-04-04 22:23:50 UTC (rev 10467)
+++ trunk/qgis/src/app/attributetable/BeataView.cpp 2009-04-05 10:32:27 UTC (rev 10468)
@@ -135,7 +135,7 @@
void BeataView::keyReleaseEvent( QKeyEvent *event )
{
// workaround for some Qt bug
- if ( event->key() == Qt::Key_Shift || event->key() == 0xffffffff )
+ if ( event->key() == Qt::Key_Shift || event->key() == -1 )
shiftPressed = false;
else if ( event->key() == Qt::Key_Control )
ctrlPressed = false;
More information about the QGIS-commit
mailing list