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
693e8393
Commit
693e8393
authored
Feb 08, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Save Message Dialog position and Size on quit. use it on load. Ref #1374
parent
9e4975ec
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
modules/gui/qt4/dialogs/messages.cpp
modules/gui/qt4/dialogs/messages.cpp
+1
-3
modules/gui/qt4/dialogs/messages.hpp
modules/gui/qt4/dialogs/messages.hpp
+7
-1
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+2
-0
No files found.
modules/gui/qt4/dialogs/messages.cpp
View file @
693e8393
...
...
@@ -74,10 +74,8 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
BUTTONACT
(
clearButton
,
clear
()
);
BUTTONACT
(
saveLogButton
,
save
()
);
ON_TIMEOUT
(
updateLog
()
);
}
MessagesDialog
::~
MessagesDialog
()
{
readSettings
(
"Messages"
);
}
void
MessagesDialog
::
updateLog
()
...
...
modules/gui/qt4/dialogs/messages.hpp
View file @
693e8393
...
...
@@ -42,7 +42,13 @@ public:
instance
=
new
MessagesDialog
(
p_intf
);
return
instance
;
}
virtual
~
MessagesDialog
();
static
void
killInstance
()
{
if
(
instance
)
delete
instance
;
instance
=
NULL
;
}
virtual
~
MessagesDialog
(){
writeSettings
(
"messages"
);
};
private:
MessagesDialog
(
intf_thread_t
*
);
...
...
modules/gui/qt4/dialogs_provider.cpp
View file @
693e8393
...
...
@@ -72,8 +72,10 @@ DialogsProvider::DialogsProvider( intf_thread_t *_p_intf ) :
DialogsProvider
::~
DialogsProvider
()
{
msg_Dbg
(
p_intf
,
"Destroying the Dialog Provider"
);
PlaylistDialog
::
killInstance
();
MediaInfoDialog
::
killInstance
();
MessagesDialog
::
killInstance
();
fixed_timer
->
stop
();
}
...
...
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