Changeset 176 for smplayer/trunk/src/favorites.h
- Timestamp:
- May 3, 2016, 5:25:45 PM (9 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 175
- Property svn:mergeinfo changed
-
smplayer/trunk/src/favorites.h
r165 r176 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 4Ricardo Villalba <rvm@users.sourceforge.net>2 Copyright (C) 2006-2016 Ricardo Villalba <rvm@users.sourceforge.net> 3 3 4 4 This program is free software; you can redistribute it and/or modify … … 17 17 */ 18 18 19 #ifndef _FAVORITES_H_20 #define _FAVORITES_H_19 #ifndef FAVORITES_H 20 #define FAVORITES_H 21 21 22 22 #include <QMenu> … … 39 39 void setName(QString name) { _name = name; }; 40 40 void setFile(QString file) { _file = file; }; 41 void setIcon(QString file) { _icon = file; }; 41 void setIcon(QString file) { 42 // Fix wrong icon 43 if (file == ":/icons-png/openfolder.png" || 44 file == ":/default-theme/openfolder.png.png") 45 { 46 file = ":/default-theme/openfolder.png"; 47 } 48 _icon = file; 49 }; 42 50 void setSubentry(bool b) { is_subentry = b; } 43 51
Note:
See TracChangeset
for help on using the changeset viewer.