From: Peter Penz Date: Thu, 21 Feb 2008 12:53:56 +0000 (+0000) Subject: don't let the selection toggle steal the keyboard focus of the view X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/b34ed68daf1923eacc9330ec49088fc24a56a415?ds=inline don't let the selection toggle steal the keyboard focus of the view svn path=/trunk/KDE/kdebase/apps/; revision=777738 --- diff --git a/src/selectiontoggle.cpp b/src/selectiontoggle.cpp index eb02edcb2..fdae03e2b 100644 --- a/src/selectiontoggle.cpp +++ b/src/selectiontoggle.cpp @@ -36,6 +36,7 @@ SelectionToggle::SelectionToggle(QWidget* parent) : m_icon(), m_fadingTimeLine(0) { + setFocusPolicy(Qt::NoFocus); parent->installEventFilter(this); resize(sizeHint()); setIconOverlay(isChecked());