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
8b967203
Commit
8b967203
authored
Feb 08, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Save Extended panel size/pos in the good way. Ref #1374.
parent
05a412e4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
8 deletions
+7
-8
modules/gui/qt4/dialogs/extended.cpp
modules/gui/qt4/dialogs/extended.cpp
+1
-4
modules/gui/qt4/dialogs/extended.hpp
modules/gui/qt4/dialogs/extended.hpp
+5
-2
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+1
-0
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+0
-2
No files found.
modules/gui/qt4/dialogs/extended.cpp
View file @
8b967203
...
...
@@ -85,11 +85,8 @@ ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
readSettings
(
"EPanel"
,
QSize
(
400
,
280
),
QPoint
(
450
,
0
)
);
}
void
ExtendedDialog
::
savingSettings
()
ExtendedDialog
::~
ExtendedDialog
()
{
writeSettings
(
"EPanel"
);
}
ExtendedDialog
::~
ExtendedDialog
()
{}
modules/gui/qt4/dialogs/extended.hpp
View file @
8b967203
...
...
@@ -36,9 +36,12 @@ public:
instance
=
new
ExtendedDialog
(
p_intf
);
return
instance
;
}
static
void
killInstance
()
{
if
(
instance
)
delete
instance
;
instance
=
NULL
;
}
virtual
~
ExtendedDialog
();
static
bool
exists
(){
return
(
instance
!=
NULL
)
;
}
void
savingSettings
();
private:
ExtendedDialog
(
intf_thread_t
*
);
static
ExtendedDialog
*
instance
;
...
...
modules/gui/qt4/dialogs_provider.cpp
View file @
8b967203
...
...
@@ -76,6 +76,7 @@ DialogsProvider::~DialogsProvider()
PlaylistDialog
::
killInstance
();
MediaInfoDialog
::
killInstance
();
MessagesDialog
::
killInstance
();
ExtendedDialog
::
killInstance
();
fixed_timer
->
stop
();
}
...
...
modules/gui/qt4/main_interface.cpp
View file @
8b967203
...
...
@@ -273,8 +273,6 @@ MainInterface::~MainInterface()
msg_Dbg
(
p_intf
,
"Destroying the main interface"
);
if
(
playlistWidget
)
playlistWidget
->
savingSettings
(
settings
);
if
(
ExtendedDialog
::
exists
()
)
ExtendedDialog
::
getInstance
(
p_intf
)
->
savingSettings
();
settings
->
beginGroup
(
"MainWindow"
);
// settings->setValue( "playlist-floats", (int)(dockPL->isFloating()) );
...
...
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