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
b9994068
Commit
b9994068
authored
Dec 01, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: remove unnecessary macro
parent
cc7478f4
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
8 deletions
+6
-8
modules/gui/qt4/components/controller.cpp
modules/gui/qt4/components/controller.cpp
+2
-2
modules/gui/qt4/components/controller_widget.cpp
modules/gui/qt4/components/controller_widget.cpp
+1
-1
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+1
-1
modules/gui/qt4/dialogs/extended.cpp
modules/gui/qt4/dialogs/extended.cpp
+1
-1
modules/gui/qt4/dialogs/preferences.cpp
modules/gui/qt4/dialogs/preferences.cpp
+1
-1
modules/gui/qt4/qt4.hpp
modules/gui/qt4/qt4.hpp
+0
-2
No files found.
modules/gui/qt4/components/controller.cpp
View file @
b9994068
...
...
@@ -549,7 +549,7 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i,
b_advancedVisible
=
b_advControls
;
QVBoxLayout
*
controlLayout
=
new
QVBoxLayout
(
this
);
controlLayout
->
set
LayoutMargins
(
6
,
4
,
6
,
2
,
5
);
controlLayout
->
set
ContentsMargins
(
5
,
3
,
5
,
2
);
controlLayout
->
setSpacing
(
0
);
QHBoxLayout
*
controlLayout1
=
new
QHBoxLayout
;
controlLayout1
->
setSpacing
(
0
);
...
...
@@ -641,7 +641,7 @@ FullscreenControllerWidget::FullscreenControllerWidget( intf_thread_t *_p_i, QWi
setSizePolicy
(
QSizePolicy
::
Minimum
,
QSizePolicy
::
Minimum
);
QVBoxLayout
*
controlLayout2
=
new
QVBoxLayout
(
this
);
controlLayout2
->
set
LayoutMargins
(
4
,
6
,
4
,
2
,
5
);
controlLayout2
->
set
ContentsMargins
(
4
,
6
,
4
,
2
);
/* First line */
InputControlsWidget
*
inputC
=
new
InputControlsWidget
(
p_intf
,
this
);
...
...
modules/gui/qt4/components/controller_widget.cpp
View file @
b9994068
...
...
@@ -71,7 +71,7 @@ SoundWidget::SoundWidget( QWidget *_parent, intf_thread_t * _p_intf,
volumeControlWidget
=
new
QFrame
;
subLayout
=
new
QVBoxLayout
(
volumeControlWidget
);
subLayout
->
set
LayoutMargins
(
4
,
4
,
4
,
4
,
4
);
subLayout
->
set
ContentsMargins
(
4
,
4
,
4
,
4
);
volumeMenu
=
new
QMenu
(
this
);
QWidgetAction
*
widgetAction
=
new
QWidgetAction
(
volumeControlWidget
);
...
...
modules/gui/qt4/components/interface_widgets.cpp
View file @
b9994068
...
...
@@ -491,7 +491,7 @@ SpeedControlWidget::SpeedControlWidget( intf_thread_t *_p_i, QWidget *_parent )
CONNECT
(
normalSpeedButton
,
clicked
(),
this
,
resetRate
()
);
QVBoxLayout
*
speedControlLayout
=
new
QVBoxLayout
(
this
);
speedControlLayout
->
set
LayoutMargins
(
4
,
4
,
4
,
4
,
4
);
speedControlLayout
->
set
ContentsMargins
(
4
,
4
,
4
,
4
);
speedControlLayout
->
setSpacing
(
4
);
speedControlLayout
->
addWidget
(
speedSlider
);
speedControlLayout
->
addWidget
(
normalSpeedButton
);
...
...
modules/gui/qt4/dialogs/extended.cpp
View file @
b9994068
...
...
@@ -43,7 +43,7 @@ ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
setWindowRole
(
"vlc-extended"
);
QGridLayout
*
layout
=
new
QGridLayout
(
this
);
layout
->
set
LayoutMargins
(
0
,
2
,
0
,
1
,
1
);
layout
->
set
ContentsMargins
(
0
,
2
,
0
,
1
);
layout
->
setSpacing
(
3
);
mainTabW
=
new
QTabWidget
(
this
);
...
...
modules/gui/qt4/dialogs/preferences.cpp
View file @
b9994068
...
...
@@ -107,7 +107,7 @@ PrefsDialog::PrefsDialog( QWidget *parent, intf_thread_t *_p_intf )
/* Margins */
tree_panel_l
->
setMargin
(
1
);
main_panel_l
->
set
LayoutMargins
(
6
,
0
,
0
,
3
,
3
);
main_panel_l
->
set
ContentsMargins
(
6
,
0
,
0
,
3
);
b_small
=
(
p_intf
->
p_sys
->
i_screenHeight
<
750
);
if
(
b_small
)
msg_Dbg
(
p_intf
,
"Small"
);
...
...
modules/gui/qt4/qt4.hpp
View file @
b9994068
...
...
@@ -115,8 +115,6 @@ struct intf_sys_t
#define TOGGLEV( x ) { if( x->isVisible() ) x->hide(); \
else x->show(); }
#define setLayoutMargins( a, b, c, d, e) setContentsMargins( a, b, c, d )
#define getSettings() p_intf->p_sys->mainSettings
static
inline
QString
QVLCUserDir
(
vlc_userdir_t
type
)
...
...
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