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

svn at pcbsd.org svn at pcbsd.org
Fri Feb 15 18:00:08 PST 2013


Author: kenmoore
Date: 2013-02-16 02:00:08 +0000 (Sat, 16 Feb 2013)
New Revision: 21571

Modified:
   pcbsd-projects/PCDM/pcdm-gui.cpp
Log:
Now turn off all keyboard focus for the toolbar



Modified: pcbsd-projects/PCDM/pcdm-gui.cpp
===================================================================
--- pcbsd-projects/PCDM/pcdm-gui.cpp	2013-02-16 01:57:27 UTC (rev 21570)
+++ pcbsd-projects/PCDM/pcdm-gui.cpp	2013-02-16 02:00:08 UTC (rev 21571)
@@ -89,6 +89,7 @@
     else{ toolbar->setToolButtonStyle(Qt::ToolButtonIconOnly); } //default to icon only
     
     toolbar->setIconSize( currentTheme->itemIconSize("toolbar") ); //use theme size
+    toolbar->setFocusPolicy( Qt::NoFocus );
   //Populate the Toolbar with items (starts at leftmost/topmost)
     //----Virtual Keyboard
     tmpIcon = currentTheme->itemIcon("vkeyboard");



More information about the Commits mailing list