git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc77ed1
)
Qt4 - Select the first category on the advanced preferences.
author
Jean-Baptiste Kempf
<jb@videolan.org>
Sat, 19 Jan 2008 03:01:09 +0000
(
03:01
+0000)
committer
Jean-Baptiste Kempf
<jb@videolan.org>
Sat, 19 Jan 2008 03:01:09 +0000
(
03:01
+0000)
modules/gui/qt4/dialogs/preferences.cpp
patch
|
blob
|
history
diff --git
a/modules/gui/qt4/dialogs/preferences.cpp
b/modules/gui/qt4/dialogs/preferences.cpp
index
8c59892
..
280a3eb
100644
(file)
--- a/
modules/gui/qt4/dialogs/preferences.cpp
+++ b/
modules/gui/qt4/dialogs/preferences.cpp
@@
-148,6
+148,11
@@
void PrefsDialog::setAdvanced()
}
advanced_panel->show();
+ /* Select the first Item of the preferences. Maybe you want to select a specified
+ category... */
+ advanced_tree->setCurrentIndex(
+ advanced_tree->model()->index( 0, 0, QModelIndex() ) );
+
all->setChecked( true );
}