Commit d3c37ff4 authored by Matthieu Gallien's avatar Matthieu Gallien 🎵

fix compilation warnings and errors in FileBrowserModel

parent 700cb854
......@@ -5,6 +5,7 @@
*/
#include "filebrowsermodel.h"
#include "datatypes.h"
#include <QUrl>
#include <QString>
......@@ -144,6 +145,14 @@ void FileBrowserModel::initialize(MusicListenersManager *manager, DatabaseInterf
const QString &genre, const QString &artist, qulonglong databaseId,
const QUrl &pathFilter)
{
Q_UNUSED(manager)
Q_UNUSED(database)
Q_UNUSED(modelType)
Q_UNUSED(filter)
Q_UNUSED(genre)
Q_UNUSED(artist)
Q_UNUSED(databaseId)
setUrl(pathFilter.toLocalFile());
}
......
......@@ -27,9 +27,6 @@ Q_SIGNALS:
public Q_SLOTS:
void enqueueToPlayList(QModelIndex rootIndex);
void replaceAndPlayOfPlayList(QModelIndex rootIndex);
protected:
bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const override;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment