Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
1200a79d
Commit
1200a79d
authored
Apr 03, 2004
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* skins2: do not save the config when changing the skin
parent
6bf0c3d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
modules/gui/skins2/src/skin_main.cpp
modules/gui/skins2/src/skin_main.cpp
+3
-2
modules/gui/skins2/src/theme.cpp
modules/gui/skins2/src/theme.cpp
+0
-2
No files found.
modules/gui/skins2/src/skin_main.cpp
View file @
1200a79d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* skin_main.cpp
* skin_main.cpp
*****************************************************************************
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* Copyright (C) 2003 VideoLAN
* $Id
: skin_main.cpp,v 1.10 2004/03/01 19:58:16 gbazin Exp
$
* $Id$
*
*
* Authors: Cyril Deguet <asmax@via.ecp.fr>
* Authors: Cyril Deguet <asmax@via.ecp.fr>
* Olivier Teulire <ipkiss@via.ecp.fr>
* Olivier Teulire <ipkiss@via.ecp.fr>
...
@@ -207,9 +207,10 @@ static void Run( intf_thread_t *p_intf )
...
@@ -207,9 +207,10 @@ static void Run( intf_thread_t *p_intf )
// Enter the main event loop
// Enter the main event loop
loop
->
run
();
loop
->
run
();
// Delete the theme
// Delete the theme
and save the configuration of the windows
if
(
p_intf
->
p_sys
->
p_theme
)
if
(
p_intf
->
p_sys
->
p_theme
)
{
{
p_intf
->
p_sys
->
p_theme
->
saveConfig
();
delete
p_intf
->
p_sys
->
p_theme
;
delete
p_intf
->
p_sys
->
p_theme
;
p_intf
->
p_sys
->
p_theme
=
NULL
;
p_intf
->
p_sys
->
p_theme
=
NULL
;
}
}
...
...
modules/gui/skins2/src/theme.cpp
View file @
1200a79d
...
@@ -27,8 +27,6 @@
...
@@ -27,8 +27,6 @@
Theme
::~
Theme
()
Theme
::~
Theme
()
{
{
saveConfig
();
// Be sure things are destroyed in the right order (XXX check)
// Be sure things are destroyed in the right order (XXX check)
m_layouts
.
clear
();
m_layouts
.
clear
();
m_controls
.
clear
();
m_controls
.
clear
();
...
...
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