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
8796e33a
Commit
8796e33a
authored
May 19, 2009
by
Geoffroy Couprie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32: Add recent files to jump lists
parent
e3d08b79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
modules/gui/qt4/recents.cpp
modules/gui/qt4/recents.cpp
+8
-1
No files found.
modules/gui/qt4/recents.cpp
View file @
8796e33a
...
...
@@ -33,6 +33,10 @@
#include <QRegExp>
#include <QSignalMapper>
#ifdef WIN32
#include <shlobj.h>
#endif
RecentsMRL
*
RecentsMRL
::
instance
=
NULL
;
RecentsMRL
::
RecentsMRL
(
intf_thread_t
*
_p_intf
)
:
p_intf
(
_p_intf
)
...
...
@@ -66,7 +70,9 @@ void RecentsMRL::addRecent( const QString &mrl )
{
if
(
!
isActive
||
(
filter
&&
filter
->
indexIn
(
mrl
)
>=
0
)
)
return
;
#ifdef WIN32
SHAddToRecentDocs
(
0x00000002
,
qtu
(
mrl
)
);
#endif
msg_Dbg
(
p_intf
,
"Adding a new MRL to recent ones: %s"
,
qtu
(
mrl
)
);
int
i_index
=
stack
->
indexOf
(
mrl
);
if
(
0
<=
i_index
)
...
...
@@ -82,6 +88,7 @@ void RecentsMRL::addRecent( const QString &mrl )
}
QVLCMenu
::
updateRecents
(
p_intf
);
save
();
}
void
RecentsMRL
::
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