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
3d80127e
Commit
3d80127e
authored
Jul 04, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: restart the playlist in the correct state when closed
Close #3788
parent
e339d116
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
modules/gui/qt4/components/playlist/playlist.cpp
modules/gui/qt4/components/playlist/playlist.cpp
+1
-1
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+1
-6
No files found.
modules/gui/qt4/components/playlist/playlist.cpp
View file @
3d80127e
...
@@ -151,7 +151,7 @@ void PlaylistWidget::closeEvent( QCloseEvent *event )
...
@@ -151,7 +151,7 @@ void PlaylistWidget::closeEvent( QCloseEvent *event )
{
{
if
(
THEDP
->
isDying
()
)
if
(
THEDP
->
isDying
()
)
{
{
/* FIXME is it needed ? */
p_intf
->
p_sys
->
p_mi
->
playlistVisible
=
true
;
event
->
accept
();
event
->
accept
();
}
}
else
else
...
...
modules/gui/qt4/main_interface.cpp
View file @
3d80127e
...
@@ -286,12 +286,7 @@ MainInterface::~MainInterface()
...
@@ -286,12 +286,7 @@ MainInterface::~MainInterface()
settings
->
setValue
(
"pl-dock-status"
,
b_plDocked
);
settings
->
setValue
(
"pl-dock-status"
,
b_plDocked
);
/* Save playlist state */
/* Save playlist state */
if
(
playlistWidget
)
if
(
playlistWidget
)
{
settings
->
setValue
(
"playlist-visible"
,
playlistVisible
);
settings
->
setValue
(
"playlist-visible"
,
isPlDocked
()
?
playlistVisible
:
playlistWidget
->
isVisible
()
/* FIXME */
);
}
settings
->
setValue
(
"adv-controls"
,
settings
->
setValue
(
"adv-controls"
,
getControlsVisibilityStatus
()
&
CONTROLS_ADVANCED
);
getControlsVisibilityStatus
()
&
CONTROLS_ADVANCED
);
...
...
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