Changeset 81d87d7 for src


Ignore:
Timestamp:
01/20/17 23:45:56 (6 years ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master, qt5
Children:
df1ba30
Parents:
1343ea4
Message:

Renamed favourite-on.png to favourite-strong.png and favourite-off.png to favourite-no.png.

Location:
src
Files:
4 edited
2 moved

Legend:

Unmodified
Added
Removed
  • src/gui/eventdialog.cpp

    r1343ea4 r81d87d7  
    150150void EventDialog::updateFavouriteButton(const Event& event) {
    151151    switch (event.favourite()) {
    152         case Favourite_no: favouriteButton->setIcon(QIcon(":/icons/favourite-off.png")); break;
     152        case Favourite_no: favouriteButton->setIcon(QIcon(":/icons/favourite-no.png")); break;
    153153        case Favourite_weak: favouriteButton->setIcon(QIcon(":/icons/favourite-weak.png")); break;
    154         case Favourite_strong: favouriteButton->setIcon(QIcon(":/icons/favourite-on.png")); break;
     154        case Favourite_strong: favouriteButton->setIcon(QIcon(":/icons/favourite-strong.png")); break;
    155155    }
    156156}
  • src/gui/eventdialog.ui

    r1343ea4 r81d87d7  
    6060       <property name="icon">
    6161        <iconset resource="../icons.qrc">
    62          <normaloff>:/icons/favourite-off.png</normaloff>:/icons/favourite-off.png</iconset>
     62         <normaloff>:/icons/favourite-no.png</normaloff>:/icons/favourite-no.png</iconset>
    6363       </property>
    6464       <property name="iconSize">
  • src/icons.qrc

    r1343ea4 r81d87d7  
    99        <file>icons/search.png</file>
    1010        <file>icons/today.png</file>
    11         <file>icons/favourite-off.png</file>
     11        <file>icons/favourite-no.png</file>
    1212        <file>icons/favourite-weak.png</file>
    13         <file>icons/favourite-on.png</file>
     13        <file>icons/favourite-strong.png</file>
    1414        <file>icons/alarm-on.png</file>
    1515        <file>icons/alarm-off.png</file>
  • src/mvc/delegate.cpp

    r1343ea4 r81d87d7  
    331331    // FAVOURITE ICONs
    332332    // strong
    333     mControls.insert(FavouriteControlStrong, new Control(FavouriteControlStrong, QString(":icons/favourite-on.png"), NULL));
     333    mControls.insert(FavouriteControlStrong, new Control(FavouriteControlStrong, QString(":icons/favourite-strong.png"), NULL));
    334334    // weak
    335335    mControls.insert(FavouriteControlWeak, new Control(FavouriteControlWeak, QString(":icons/favourite-weak.png"), NULL));
    336336    // no
    337     mControls.insert(FavouriteControlNo, new Control(FavouriteControlNo, QString(":icons/favourite-off.png"), NULL));
     337    mControls.insert(FavouriteControlNo, new Control(FavouriteControlNo, QString(":icons/favourite-no.png"), NULL));
    338338
    339339    // ALARM ICONs
Note: See TracChangeset for help on using the changeset viewer.