Ignore:
Timestamp:
May 3, 2016, 5:25:45 PM (9 years ago)
Author:
Silvan Scherrer
Message:

smplayer: update trunk to version 16.4

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/favorites.h

    r165 r176  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2014 Ricardo Villalba <rvm@users.sourceforge.net>
     2    Copyright (C) 2006-2016 Ricardo Villalba <rvm@users.sourceforge.net>
    33
    44    This program is free software; you can redistribute it and/or modify
     
    1717*/
    1818
    19 #ifndef _FAVORITES_H_
    20 #define _FAVORITES_H_
     19#ifndef FAVORITES_H
     20#define FAVORITES_H
    2121
    2222#include <QMenu>
     
    3939        void setName(QString name) { _name = name; };
    4040        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        };
    4250        void setSubentry(bool b) { is_subentry = b; }
    4351
Note: See TracChangeset for help on using the changeset viewer.