Make selection tool working again

svn path=/trunk/playground/graphics/okular/; revision=583789
This commit is contained in:
Tobias Koenig 2006-09-13 12:49:12 +00:00
parent c3c79fa216
commit 2f0946e831

View file

@ -1315,8 +1315,8 @@ if (d->document->handleEvent( e ) )
return;
}
bool leftButton = e->buttons() & Qt::LeftButton,
rightButton = e->buttons() & Qt::RightButton;
bool leftButton = (e->button() == Qt::LeftButton);
bool rightButton = (e->button() == Qt::RightButton);
switch ( d->mouseMode )
{
case MouseNormal:{