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
d9f70192
Commit
d9f70192
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)
(cherry picked from commit
accf189a
)
parent
31ee7dec
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 @
d9f70192
...
@@ -1226,8 +1226,6 @@ Compressor::Compressor( intf_thread_t *_p_intf, QWidget *_parent )
...
@@ -1226,8 +1226,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
);
...
@@ -1241,6 +1239,9 @@ Compressor::Compressor( intf_thread_t *_p_intf, QWidget *_parent )
...
@@ -1241,6 +1239,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 */
...
@@ -1370,8 +1371,6 @@ Spatializer::Spatializer( intf_thread_t *_p_intf, QWidget *_parent )
...
@@ -1370,8 +1371,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
);
...
@@ -1385,6 +1384,9 @@ Spatializer::Spatializer( intf_thread_t *_p_intf, QWidget *_parent )
...
@@ -1385,6 +1384,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