Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
faef0357
Commit
faef0357
authored
Aug 27, 2006
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix default category selection
parent
ea92ef2b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
11 deletions
+14
-11
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+2
-10
modules/gui/qt4/components/simple_preferences.hpp
modules/gui/qt4/components/simple_preferences.hpp
+11
-0
modules/gui/qt4/dialogs/prefs_dialog.cpp
modules/gui/qt4/dialogs/prefs_dialog.cpp
+1
-1
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
faef0357
...
@@ -48,16 +48,6 @@
...
@@ -48,16 +48,6 @@
#define ITEM_HEIGHT 50
#define ITEM_HEIGHT 50
enum
{
SPrefsVideo
,
SPrefsAudio
,
SPrefsInputAndCodecs
,
SPrefsPlaylist
,
SPrefsInterface
,
SPrefsSubtitles
,
SPrefsAdvanced
};
/*********************************************************************
/*********************************************************************
* The List of categories
* The List of categories
*********************************************************************/
*********************************************************************/
...
@@ -91,6 +81,8 @@ SPrefsCatList::SPrefsCatList( intf_thread_t *_p_intf, QWidget *_parent ) :
...
@@ -91,6 +81,8 @@ SPrefsCatList::SPrefsCatList( intf_thread_t *_p_intf, QWidget *_parent ) :
ADD_CATEGORY
(
SPrefsInterface
,
"Interface"
,
interface_50x50_xpm
);
ADD_CATEGORY
(
SPrefsInterface
,
"Interface"
,
interface_50x50_xpm
);
ADD_CATEGORY
(
SPrefsSubtitles
,
"Subtitles"
,
subtitles_50x50_xpm
);
ADD_CATEGORY
(
SPrefsSubtitles
,
"Subtitles"
,
subtitles_50x50_xpm
);
ADD_CATEGORY
(
SPrefsAdvanced
,
"Advanced"
,
advanced_50x50_xpm
);
ADD_CATEGORY
(
SPrefsAdvanced
,
"Advanced"
,
advanced_50x50_xpm
);
setCurrentRow
(
SPrefsInterface
);
}
}
void
SPrefsCatList
::
ApplyAll
()
void
SPrefsCatList
::
ApplyAll
()
...
...
modules/gui/qt4/components/simple_preferences.hpp
View file @
faef0357
...
@@ -28,6 +28,17 @@
...
@@ -28,6 +28,17 @@
#include <vlc/vlc.h>
#include <vlc/vlc.h>
#include <vlc/intf.h>
#include <vlc/intf.h>
enum
{
SPrefsVideo
,
SPrefsAudio
,
SPrefsInputAndCodecs
,
SPrefsPlaylist
,
SPrefsInterface
,
SPrefsSubtitles
,
SPrefsAdvanced
};
#define SPrefsDefaultCat SPrefsInterface
class
ConfigControl
;
class
ConfigControl
;
class
SPrefsCatList
:
public
QListWidget
class
SPrefsCatList
:
public
QListWidget
...
...
modules/gui/qt4/dialogs/prefs_dialog.cpp
View file @
faef0357
...
@@ -143,7 +143,7 @@ void PrefsDialog::setSmall()
...
@@ -143,7 +143,7 @@ void PrefsDialog::setSmall()
advanced_panel
->
hide
();
advanced_panel
->
hide
();
}
}
if
(
!
simple_panel
)
if
(
!
simple_panel
)
simple_panel
=
new
SPrefsPanel
(
p_intf
,
main_panel
,
0
);
simple_panel
=
new
SPrefsPanel
(
p_intf
,
main_panel
,
SPrefsDefaultCat
);
main_panel_l
->
addWidget
(
simple_panel
);
main_panel_l
->
addWidget
(
simple_panel
);
simple_panel
->
show
();
simple_panel
->
show
();
adv_chk
->
hide
();
adv_chk
->
hide
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment