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
78e989ef
Commit
78e989ef
authored
Jun 21, 2013
by
Ludovic Fauvet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: fallback on the high-resolution icons instead of the xpm
parent
a7d3284e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+2
-4
No files found.
modules/gui/qt4/qt4.cpp
View file @
78e989ef
...
@@ -45,8 +45,6 @@
...
@@ -45,8 +45,6 @@
#include <vlc_xlib.h>
#include <vlc_xlib.h>
#endif
#endif
#include "../../../share/icons/32x32/vlc.xpm"
#include "../../../share/icons/32x32/vlc-xmas.xpm"
#include <vlc_plugin.h>
#include <vlc_plugin.h>
#include <vlc_vout_window.h>
#include <vlc_vout_window.h>
...
@@ -469,9 +467,9 @@ static void *Thread( void *obj )
...
@@ -469,9 +467,9 @@ static void *Thread( void *obj )
/* Icon setting, Mac uses icon from .icns */
/* Icon setting, Mac uses icon from .icns */
#ifndef Q_WS_MAC
#ifndef Q_WS_MAC
if
(
QDate
::
currentDate
().
dayOfYear
()
>=
QT_XMAS_JOKE_DAY
&&
var_InheritBool
(
p_intf
,
"qt-icon-change"
)
)
if
(
QDate
::
currentDate
().
dayOfYear
()
>=
QT_XMAS_JOKE_DAY
&&
var_InheritBool
(
p_intf
,
"qt-icon-change"
)
)
app
.
setWindowIcon
(
QIcon
::
fromTheme
(
"vlc-xmas"
,
QIcon
(
vlc_xmas_xpm
)
)
);
app
.
setWindowIcon
(
QIcon
::
fromTheme
(
"vlc-xmas"
,
QIcon
(
":/logo/vlc128-xmas.png"
)
)
);
else
else
app
.
setWindowIcon
(
QIcon
::
fromTheme
(
"vlc"
,
QIcon
(
vlc_xpm
)
)
);
app
.
setWindowIcon
(
QIcon
::
fromTheme
(
"vlc"
,
QIcon
(
":/logo/vlc256.png"
)
)
);
#endif
#endif
/* Initialize timers and the Dialog Provider */
/* Initialize timers and the Dialog Provider */
...
...
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