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
36eff3f6
Commit
36eff3f6
authored
Sep 04, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: correctly handle Unicode in Win7 jump lists
Closes #4142
parent
c47bb3b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
modules/gui/qt4/recents.cpp
modules/gui/qt4/recents.cpp
+14
-2
No files found.
modules/gui/qt4/recents.cpp
View file @
36eff3f6
...
...
@@ -33,9 +33,21 @@
#include <QSignalMapper>
#ifdef WIN32
#include <shlobj.h>
#include <shlobj.h>
/* typedef enum {
SHARD_PIDL = 0x00000001,
SHARD_PATHA = 0x00000002,
SHARD_PATHW = 0x00000003,
SHARD_APPIDINFO = 0x00000004,
SHARD_APPIDINFOIDLIST = 0x00000005,
SHARD_LINK = 0x00000006,
SHARD_APPIDINFOLINK = 0x00000007,
SHARD_SHELLITEM = 0x00000008
} SHARD; */
#define SHARD_PATHW 0x00000003
#endif
RecentsMRL
*
RecentsMRL
::
instance
=
NULL
;
RecentsMRL
::
RecentsMRL
(
intf_thread_t
*
_p_intf
)
:
p_intf
(
_p_intf
)
...
...
@@ -76,7 +88,7 @@ void RecentsMRL::addRecent( const QString &mrl )
#ifdef WIN32
/* Add to the Windows 7 default list in taskbar */
SHAddToRecentDocs
(
0x00000002
,
qtu
(
mrl
)
);
SHAddToRecentDocs
(
SHARD_PATHW
,
qtu
(
mrl
)
);
#endif
int
i_index
=
stack
->
indexOf
(
mrl
);
...
...
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