[vlc-commits] commit: Qt: Force firstRun Ok button to be focused. (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Thu Mar 11 15:40:31 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Mar 10 23:57:50 2010 +0100| [b20a361834b8bf028c7eb78f3876ec602db431e1] | committer: Jean-Baptiste Kempf 

Qt: Force firstRun Ok button to be focused.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b20a361834b8bf028c7eb78f3876ec602db431e1
---

 modules/gui/qt4/dialogs/firstrun.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/dialogs/firstrun.cpp b/modules/gui/qt4/dialogs/firstrun.cpp
index 088e8ae..eba06fe 100644
--- a/modules/gui/qt4/dialogs/firstrun.cpp
+++ b/modules/gui/qt4/dialogs/firstrun.cpp
@@ -102,5 +102,6 @@ void FirstRun::buildPrivDialog()
     gLayout->addWidget( ok, 2, 2 );
 
     CONNECT( ok, clicked(), this, save() );
+    ok->setFocus();
 }
 



More information about the vlc-commits mailing list