Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
5ddf30fd
Commit
5ddf30fd
authored
Sep 09, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Not reimplementing existing functions might not be a bad idea... hmmm...
parent
cf05c96c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
+2
-11
modules/gui/qt4/dialogs/sout.cpp
modules/gui/qt4/dialogs/sout.cpp
+2
-11
No files found.
modules/gui/qt4/dialogs/sout.cpp
View file @
5ddf30fd
...
...
@@ -183,15 +183,6 @@ void SoutDialog::setRawOptions( bool b_raw )
}
}
int
indexFromItemData
(
QComboBox
*
aCombo
,
QString
aString
)
{
for
(
int
i
=
0
;
i
<
aCombo
->
count
();
i
++
)
{
if
(
aCombo
->
itemData
(
i
).
toString
()
==
aString
)
return
i
;
}
return
-
1
;
}
void
SoutDialog
::
setOptions
()
{
QString
profileString
=
ui
.
profileBox
->
itemData
(
ui
.
profileBox
->
currentIndex
()
).
toString
();
...
...
@@ -203,11 +194,11 @@ void SoutDialog::setOptions()
ui.muxName ##Mux->setChecked( true ); \
\
ui.transcodeAudio->setChecked( hasAudio ); \
index =
indexFromItemData( ui.aCodecBox,
vCodecName ); \
index =
ui.aCodecBox->findText(
vCodecName ); \
if( index >= 0 ) ui.aCodecBox->setCurrentIndex( index ); \
\
ui.transcodeVideo->setChecked( hasVideo ); \
index =
indexFromItemData( ui.aCodecBox,
vCodecName ); \
index =
ui.aCodecBox->findText(
vCodecName ); \
if( index >=0 ) ui.vCodecBox->setCurrentIndex( index ); \
}
...
...
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