[PC-BSD Commits] r21572 - pcbsd-projects/PCDM

svn at pcbsd.org svn at pcbsd.org
Fri Feb 15 18:02:38 PST 2013


Author: kenmoore
Date: 2013-02-16 02:02:38 +0000 (Sat, 16 Feb 2013)
New Revision: 21572

Modified:
   pcbsd-projects/PCDM/pcdm-gui.cpp
Log:
Make sure that the system toolbutton can not get keyboard focus



Modified: pcbsd-projects/PCDM/pcdm-gui.cpp
===================================================================
--- pcbsd-projects/PCDM/pcdm-gui.cpp	2013-02-16 02:00:08 UTC (rev 21571)
+++ pcbsd-projects/PCDM/pcdm-gui.cpp	2013-02-16 02:02:38 UTC (rev 21572)
@@ -126,6 +126,7 @@
     systemMenu = new QMenu();
     toolbar->addWidget(systemButton);
     systemButton->setPopupMode( QToolButton::InstantPopup );
+    systemButton->setFocusPolicy( Qt::NoFocus );
     
   //Create the grid layout
   QGridLayout* grid = new QGridLayout;



More information about the Commits mailing list