Make static
This commit is contained in:
@@ -103,7 +103,7 @@ void ContextAlbumsModel::AddSongs(const SongList &songs) {
|
||||
|
||||
}
|
||||
|
||||
QString ContextAlbumsModel::AlbumIconPixmapCacheKey(const QModelIndex &idx) const {
|
||||
QString ContextAlbumsModel::AlbumIconPixmapCacheKey(const QModelIndex &idx) {
|
||||
|
||||
QStringList path;
|
||||
QModelIndex index_copy(idx);
|
||||
|
||||
@@ -107,7 +107,7 @@ class ContextAlbumsModel : public SimpleTreeModel<CollectionItem> {
|
||||
void PostQuery(CollectionItem *parent, const QueryResult &result, bool signal);
|
||||
CollectionItem *ItemFromSong(CollectionItem::Type item_type, bool signal, CollectionItem *parent, const Song &s, int container_level);
|
||||
|
||||
QString AlbumIconPixmapCacheKey(const QModelIndex &idx) const;
|
||||
static QString AlbumIconPixmapCacheKey(const QModelIndex &idx) ;
|
||||
QVariant AlbumIcon(const QModelIndex &idx);
|
||||
QVariant data(const CollectionItem *item, int role) const;
|
||||
bool CompareItems(const CollectionItem *a, const CollectionItem *b) const;
|
||||
|
||||
@@ -72,7 +72,7 @@ class ContextView : public QWidget {
|
||||
|
||||
private:
|
||||
void AddActions();
|
||||
void SetLabelText(QLabel *label, int value, const QString &suffix, const QString &def = QString());
|
||||
static void SetLabelText(QLabel *label, int value, const QString &suffix, const QString &def = QString());
|
||||
void NoSong();
|
||||
void SetSong();
|
||||
void UpdateSong(const Song &song);
|
||||
|
||||
Reference in New Issue
Block a user