Skip to content

Commit

Permalink
fix a warning
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@10468 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 5, 2009
1 parent 68f2530 commit 03924a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/attributetable/BeataView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void BeataView::keyPressEvent( QKeyEvent *event )
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;
Expand Down

0 comments on commit 03924a6

Please sign in to comment.