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
3757ba1e
Commit
3757ba1e
authored
Feb 08, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Same for Bookmark Dialog Ref. #1374
parent
8b967203
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
modules/gui/qt4/dialogs/bookmarks.cpp
modules/gui/qt4/dialogs/bookmarks.cpp
+2
-0
modules/gui/qt4/dialogs/bookmarks.hpp
modules/gui/qt4/dialogs/bookmarks.hpp
+5
-1
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+1
-0
No files found.
modules/gui/qt4/dialogs/bookmarks.cpp
View file @
3757ba1e
...
@@ -77,10 +77,12 @@ BookmarksDialog::BookmarksDialog( intf_thread_t *_p_intf ):QVLCFrame( _p_intf )
...
@@ -77,10 +77,12 @@ BookmarksDialog::BookmarksDialog( intf_thread_t *_p_intf ):QVLCFrame( _p_intf )
BUTTONACT
(
clearButton
,
clear
()
);
BUTTONACT
(
clearButton
,
clear
()
);
BUTTONACT
(
extractButton
,
extract
()
);
BUTTONACT
(
extractButton
,
extract
()
);
readSettings
(
"Bookmarks"
);
}
}
BookmarksDialog
::~
BookmarksDialog
()
BookmarksDialog
::~
BookmarksDialog
()
{
{
writeSettings
(
"Bookmarks"
);
}
}
void
BookmarksDialog
::
update
()
void
BookmarksDialog
::
update
()
...
...
modules/gui/qt4/dialogs/bookmarks.hpp
View file @
3757ba1e
...
@@ -40,8 +40,12 @@ public:
...
@@ -40,8 +40,12 @@ public:
instance
=
new
BookmarksDialog
(
p_intf
);
instance
=
new
BookmarksDialog
(
p_intf
);
return
instance
;
return
instance
;
}
}
static
void
killInstance
()
{
if
(
instance
)
delete
instance
;
instance
=
NULL
;
}
virtual
~
BookmarksDialog
();
virtual
~
BookmarksDialog
();
static
bool
exists
()
{
return
(
instance
!=
NULL
)
;
}
private:
private:
BookmarksDialog
(
intf_thread_t
*
);
BookmarksDialog
(
intf_thread_t
*
);
static
BookmarksDialog
*
instance
;
static
BookmarksDialog
*
instance
;
...
...
modules/gui/qt4/dialogs_provider.cpp
View file @
3757ba1e
...
@@ -77,6 +77,7 @@ DialogsProvider::~DialogsProvider()
...
@@ -77,6 +77,7 @@ DialogsProvider::~DialogsProvider()
MediaInfoDialog
::
killInstance
();
MediaInfoDialog
::
killInstance
();
MessagesDialog
::
killInstance
();
MessagesDialog
::
killInstance
();
ExtendedDialog
::
killInstance
();
ExtendedDialog
::
killInstance
();
BookmarksDialog
::
killInstance
();
fixed_timer
->
stop
();
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