Commit 8df96e9e authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

ThumbnailListPrivate does not handle keypresses

So don't give it the focus while using tab to change focus
parent ed052f4f
......@@ -216,8 +216,8 @@ ThumbnailList::ThumbnailList( QWidget *parent, Okular::Document *document )
viewport()->setPalette( viewportPal );
setWidget( d );
// widget setup: can be focused by tab and mouse click (not wheel)
widget()->setFocusPolicy( Qt::StrongFocus );
// widget setup: can be focused by mouse click (not wheel nor tab)
widget()->setFocusPolicy( Qt::ClickFocus );
QPalette widgetPal = widget()->palette();
widgetPal.setColor( widget()->backgroundRole(), pal.color( QPalette::Base ) );
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment