Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
cd62d6f2
Commit
cd62d6f2
authored
Nov 17, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: fix toolbars customization
Close #5547 This must be a side-effect of the playlist settings
parent
d3f5170f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/gui/qt4/components/controller.cpp
modules/gui/qt4/components/controller.cpp
+4
-4
No files found.
modules/gui/qt4/components/controller.cpp
View file @
cd62d6f2
...
@@ -636,13 +636,13 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i,
...
@@ -636,13 +636,13 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i,
QHBoxLayout
*
controlLayout1
=
new
QHBoxLayout
;
QHBoxLayout
*
controlLayout1
=
new
QHBoxLayout
;
controlLayout1
->
setSpacing
(
0
);
controlLayout1
->
setMargin
(
0
);
controlLayout1
->
setSpacing
(
0
);
controlLayout1
->
setMargin
(
0
);
QString
line1
=
getSettings
()
->
value
(
"MainToolbar1"
,
MAIN_TB1_DEFAULT
)
QString
line1
=
getSettings
()
->
value
(
"Main
Window/Main
Toolbar1"
,
MAIN_TB1_DEFAULT
)
.
toString
();
.
toString
();
parseAndCreate
(
line1
,
controlLayout1
);
parseAndCreate
(
line1
,
controlLayout1
);
QHBoxLayout
*
controlLayout2
=
new
QHBoxLayout
;
QHBoxLayout
*
controlLayout2
=
new
QHBoxLayout
;
controlLayout2
->
setSpacing
(
0
);
controlLayout2
->
setMargin
(
0
);
controlLayout2
->
setSpacing
(
0
);
controlLayout2
->
setMargin
(
0
);
QString
line2
=
getSettings
()
->
value
(
"MainToolbar2"
,
MAIN_TB2_DEFAULT
)
QString
line2
=
getSettings
()
->
value
(
"Main
Window/Main
Toolbar2"
,
MAIN_TB2_DEFAULT
)
.
toString
();
.
toString
();
parseAndCreate
(
line2
,
controlLayout2
);
parseAndCreate
(
line2
,
controlLayout2
);
...
@@ -676,7 +676,7 @@ AdvControlsWidget::AdvControlsWidget( intf_thread_t *_p_i, QWidget *_parent ) :
...
@@ -676,7 +676,7 @@ AdvControlsWidget::AdvControlsWidget( intf_thread_t *_p_i, QWidget *_parent ) :
#endif
#endif
QString
line
=
getSettings
()
->
value
(
"AdvToolbar"
,
ADV_TB_DEFAULT
)
QString
line
=
getSettings
()
->
value
(
"
MainWindow/
AdvToolbar"
,
ADV_TB_DEFAULT
)
.
toString
();
.
toString
();
parseAndCreate
(
line
,
controlLayout
);
parseAndCreate
(
line
,
controlLayout
);
}
}
...
@@ -692,7 +692,7 @@ InputControlsWidget::InputControlsWidget( intf_thread_t *_p_i, QWidget *_parent
...
@@ -692,7 +692,7 @@ InputControlsWidget::InputControlsWidget( intf_thread_t *_p_i, QWidget *_parent
setStyleSheet
(
"background: green "
);
setStyleSheet
(
"background: green "
);
#endif
#endif
QString
line
=
getSettings
()
->
value
(
"InputToolbar"
,
INPT_TB_DEFAULT
).
toString
();
QString
line
=
getSettings
()
->
value
(
"
MainWindow/
InputToolbar"
,
INPT_TB_DEFAULT
).
toString
();
parseAndCreate
(
line
,
controlLayout
);
parseAndCreate
(
line
,
controlLayout
);
}
}
/**********************************************************************
/**********************************************************************
...
...
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