]> git.sesse.net Git - vlc/commitdiff
Qt: Force firstRun Ok button to be focused.
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 10 Mar 2010 22:57:50 +0000 (23:57 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 11 Mar 2010 09:21:57 +0000 (10:21 +0100)
modules/gui/qt4/dialogs/firstrun.cpp

index 088e8ae1b9be2b307802d0e99dde5f656ecd9669..eba06fe5084aa60c4695ac01a493b6572f19bf42 100644 (file)
@@ -102,5 +102,6 @@ void FirstRun::buildPrivDialog()
     gLayout->addWidget( ok, 2, 2 );
 
     CONNECT( ok, clicked(), this, save() );
+    ok->setFocus();
 }