Bookmark icon

This commit is contained in:
Craig Drummond
2015-08-30 16:09:30 +01:00
committed by Craig Drummond
parent d36478cb18
commit 2cd7018e30
3 changed files with 4 additions and 2 deletions

View File

@@ -535,7 +535,7 @@ StreamsModel::StreamsModel(QObject *parent)
favourites=new FavouritesCategoryItem(constFavouritesUrl, i18n("Favorites"), root, getIcon("favourites"));
root->children.append(favourites);
loadInstalledProviders();
addBookmarkAction = new Action(Icon("bookmark-new"), i18n("Bookmark Category"), this);
addBookmarkAction = new Action(Icons::self()->addBookmarkIcon, i18n("Bookmark Category"), this);
addToFavouritesAction = new Action(favouritesIcon(), i18n("Add Stream To Favorites"), this);
configureDiAction = new Action(Icons::self()->configureIcon, i18n("Configure Digitally Imported"), this);
reloadAction = new Action(Icons::self()->reloadIcon, i18n("Reload"), this);

View File

@@ -428,7 +428,6 @@ Icons::Icons()
replacePlayQueueIcon=loadAwesomeIcon(fa::play, stdColor, stdColor);
appendToPlayQueueIcon=loadAwesomeIcon(fa::plus, stdColor, stdColor);
centrePlayQueueOnTrackIcon=loadAwesomeIcon(Qt::RightToLeft==QApplication::layoutDirection() ? fa::chevronleft : fa::chevronright, stdColor, stdColor);
savePlayQueueIcon=loadAwesomeIcon(fa::save, stdColor, stdColor);
clearListIcon=loadAwesomeIcon(fa::remove, red, red);
@@ -445,6 +444,7 @@ Icons::Icons()
importIcon=loadAwesomeIcon(fa::music, stdColor, stdColor);
removeIcon=loadAwesomeIcon(fa::minus, red, red);
addIcon=loadAwesomeIcon(fa::plus, stdColor, stdColor);
addBookmarkIcon=loadAwesomeIcon(fa::bookmark, stdColor, stdColor);
Icon::setStd(Icon::Close, loadAwesomeIcon(fa::close, red, red));
} else {
replacePlayQueueIcon=Icon("media-playback-start");
@@ -465,6 +465,7 @@ Icons::Icons()
importIcon=Icon(QStringList() << "document-import" << "down");
removeIcon=Icon("list-remove");
addIcon=Icon("list-add");
addBookmarkIcon=Icon("bookmark-new");
}
}

View File

@@ -102,6 +102,7 @@ public:
QIcon importIcon;
QIcon removeIcon;
QIcon addIcon;
QIcon addBookmarkIcon;
};
#endif