Skip to content

Commit

Permalink
Remove unuseed function from tracksmodel
Browse files Browse the repository at this point in the history
  • Loading branch information
neochapay committed Oct 3, 2022
1 parent 64b0b97 commit b437345
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions src/lib/tracksmodel.cpp
Expand Up @@ -72,15 +72,6 @@ void TracksModel::setCurrentIndex(int index)
}
}

void TracksModel::loadPlaylistFromDB()
{
beginResetModel();
m_tracks.clear();
m_currentIndex = -1;

endResetModel();
}

void TracksModel::addTrack(Track* track)
{
beginInsertRows(QModelIndex(), rowCount() - 1, rowCount());
Expand Down
1 change: 0 additions & 1 deletion src/lib/tracksmodel.h
Expand Up @@ -22,7 +22,6 @@ class TracksModel : public QAbstractListModel {
void currentIndexChanged(int currentIndex);

public slots:
void loadPlaylistFromDB();
void addTrack(Track* track);
void reset();
QVariant get(const int idx);
Expand Down

0 comments on commit b437345

Please sign in to comment.