Make selection tool working again

svn path=/trunk/playground/graphics/okular/; revision=583789
remotes/origin/KDE/4.0
Tobias Koenig 20 years ago
parent c3c79fa216
commit 2f0946e831
  1. 4
      ui/pageview.cpp

@ -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:{

Loading…
Cancel
Save