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
bf4a4eec
Commit
bf4a4eec
authored
Apr 09, 2003
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./modules/gui/kde/preferences.cpp: KDE 2 backport.
parent
486ebdb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
modules/gui/kde/preferences.cpp
modules/gui/kde/preferences.cpp
+7
-2
No files found.
modules/gui/kde/preferences.cpp
View file @
bf4a4eec
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* preferences.cpp: preferences window for the kde gui
* preferences.cpp: preferences window for the kde gui
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: preferences.cpp,v 1.1
4 2003/03/30 11:59:00 sigmunau
Exp $
* $Id: preferences.cpp,v 1.1
5 2003/04/09 12:03:44 sam
Exp $
*
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no> Mon Aug 12 2002
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no> Mon Aug 12 2002
*
*
...
@@ -167,9 +167,14 @@ KPreferences::KPreferences(intf_thread_t *p_intf, const char *psz_module_name,
...
@@ -167,9 +167,14 @@ KPreferences::KPreferences(intf_thread_t *p_intf, const char *psz_module_name,
while
(
*
ppsz_list
)
while
(
*
ppsz_list
)
{
{
p_combobox
->
insertItem
(
*
ppsz_list
);
p_combobox
->
insertItem
(
*
ppsz_list
);
if
(
!
strcmp
(
*
ppsz_list
,
p_item
->
psz_value
?
p_item
->
psz_value
:
""
)
)
if
(
!
strcmp
(
*
ppsz_list
,
p_item
->
psz_value
?
p_item
->
psz_value
:
""
)
)
{
{
#if KDE_VERSION_MAJOR >= 3
p_combobox
->
setCurrentText
(
*
ppsz_list
);
p_combobox
->
setCurrentText
(
*
ppsz_list
);
#else
p_combobox
->
setCurrentItem
(
p_combobox
->
count
()
);
#endif
}
}
ppsz_list
++
;
ppsz_list
++
;
}
}
...
...
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