~ubuntu-branches/ubuntu/precise/okular/precise-proposed

« back to all changes in this revision

Viewing changes to ui/thumbnaillist.cpp

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2011-12-23 22:53:33 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20111223225333-l6ekbg2vq4pcsvwg
Tags: 4:4.7.95-0ubuntu1
* New upstream release candidate
* Enable DebianABIManager and bump ABI of libokularcore1

Show diffs side-by-side

added added

removed removed

Lines of Context:
216
216
    viewport()->setPalette( viewportPal );
217
217
 
218
218
    setWidget( d );
219
 
    // widget setup: can be focused by tab and mouse click (not wheel)
220
 
    widget()->setFocusPolicy( Qt::StrongFocus );
 
219
    // widget setup: can be focused by mouse click (not wheel nor tab)
 
220
    widget()->setFocusPolicy( Qt::ClickFocus );
221
221
    widget()->show();
222
222
    QPalette widgetPal = widget()->palette();
223
223
    widgetPal.setColor( widget()->backgroundRole(), pal.color( QPalette::Base ) );