Make static
This commit is contained in:
@@ -243,7 +243,7 @@ void SmartPlaylistsModel::DeleteGenerator(const QModelIndex &idx) {
|
||||
|
||||
}
|
||||
|
||||
void SmartPlaylistsModel::SaveGenerator(QSettings *s, const int i, PlaylistGeneratorPtr generator) const {
|
||||
void SmartPlaylistsModel::SaveGenerator(QSettings *s, const int i, PlaylistGeneratorPtr generator) {
|
||||
|
||||
s->setArrayIndex(i);
|
||||
s->setValue("name", generator->name());
|
||||
|
||||
@@ -80,7 +80,7 @@ class SmartPlaylistsModel : public SimpleTreeModel<SmartPlaylistsItem> {
|
||||
static const char *kSmartPlaylistsMimeType;
|
||||
static const int kSmartPlaylistsVersion;
|
||||
|
||||
void SaveGenerator(QSettings *s, const int i, PlaylistGeneratorPtr generator) const;
|
||||
static void SaveGenerator(QSettings *s, const int i, PlaylistGeneratorPtr generator);
|
||||
void ItemFromSmartPlaylist(const QSettings &s, const bool notify);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user