Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
accf189a
Commit
accf189a
authored
Aug 20, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: fix compressor and spatializer initializer order (fixes #7296)
parent
1a151299
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+6
-4
No files found.
modules/gui/qt4/components/extended_panels.cpp
View file @
accf189a
...
@@ -1277,8 +1277,6 @@ Compressor::Compressor( intf_thread_t *_p_intf, QWidget *_parent )
...
@@ -1277,8 +1277,6 @@ Compressor::Compressor( intf_thread_t *_p_intf, QWidget *_parent )
oldControlVars
[
i
]
=
comp_controls
[
i
].
f_value
;
oldControlVars
[
i
]
=
comp_controls
[
i
].
f_value
;
CONNECT
(
compCtrl
[
i
],
valueChanged
(
int
),
this
,
setInitValues
()
);
ctrl_texts
[
i
]
=
new
QLabel
(
qtr
(
comp_controls
[
i
].
psz_descs
)
+
"
\n
"
);
ctrl_texts
[
i
]
=
new
QLabel
(
qtr
(
comp_controls
[
i
].
psz_descs
)
+
"
\n
"
);
ctrl_texts
[
i
]
->
setFont
(
smallFont
);
ctrl_texts
[
i
]
->
setFont
(
smallFont
);
ctrl_texts
[
i
]
->
setAlignment
(
Qt
::
AlignHCenter
);
ctrl_texts
[
i
]
->
setAlignment
(
Qt
::
AlignHCenter
);
...
@@ -1292,6 +1290,9 @@ Compressor::Compressor( intf_thread_t *_p_intf, QWidget *_parent )
...
@@ -1292,6 +1290,9 @@ Compressor::Compressor( intf_thread_t *_p_intf, QWidget *_parent )
layout
->
addWidget
(
ctrl_texts
[
i
],
3
,
i
,
Qt
::
AlignHCenter
);
layout
->
addWidget
(
ctrl_texts
[
i
],
3
,
i
,
Qt
::
AlignHCenter
);
}
}
for
(
int
i
=
0
;
i
<
NUM_CP_CTRL
;
i
++
)
CONNECT
(
compCtrl
[
i
],
valueChanged
(
int
),
this
,
setInitValues
()
);
BUTTONACT
(
enableCheck
,
enable
()
);
BUTTONACT
(
enableCheck
,
enable
()
);
/* Write down initial values */
/* Write down initial values */
...
@@ -1421,8 +1422,6 @@ Spatializer::Spatializer( intf_thread_t *_p_intf, QWidget *_parent )
...
@@ -1421,8 +1422,6 @@ Spatializer::Spatializer( intf_thread_t *_p_intf, QWidget *_parent )
spatCtrl
[
i
]
->
setValue
(
(
int
)
var_InheritFloat
(
p_intf
,
spat_controls
[
i
].
psz_name
)
*
10.
);
spatCtrl
[
i
]
->
setValue
(
(
int
)
var_InheritFloat
(
p_intf
,
spat_controls
[
i
].
psz_name
)
*
10.
);
oldControlVars
[
i
]
=
spatCtrl
[
i
]
->
value
();
oldControlVars
[
i
]
=
spatCtrl
[
i
]
->
value
();
CONNECT
(
spatCtrl
[
i
],
valueChanged
(
int
),
this
,
setInitValues
()
);
ctrl_texts
[
i
]
=
new
QLabel
(
qtr
(
spat_controls
[
i
].
psz_desc
)
+
"
\n
"
);
ctrl_texts
[
i
]
=
new
QLabel
(
qtr
(
spat_controls
[
i
].
psz_desc
)
+
"
\n
"
);
ctrl_texts
[
i
]
->
setFont
(
smallFont
);
ctrl_texts
[
i
]
->
setFont
(
smallFont
);
...
@@ -1436,6 +1435,9 @@ Spatializer::Spatializer( intf_thread_t *_p_intf, QWidget *_parent )
...
@@ -1436,6 +1435,9 @@ Spatializer::Spatializer( intf_thread_t *_p_intf, QWidget *_parent )
}
}
spatCtrl
[
0
]
->
setRange
(
0
,
11
);
spatCtrl
[
0
]
->
setRange
(
0
,
11
);
for
(
int
i
=
0
;
i
<
NUM_SP_CTRL
;
i
++
)
CONNECT
(
spatCtrl
[
i
],
valueChanged
(
int
),
this
,
setInitValues
()
);
BUTTONACT
(
enableCheck
,
enable
()
);
BUTTONACT
(
enableCheck
,
enable
()
);
/* Write down initial values */
/* Write down initial values */
...
...
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