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

fix compilation warnings and errors in FileBrowserModel

parent 700cb854
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
*/ */
#include "filebrowsermodel.h" #include "filebrowsermodel.h"
#include "datatypes.h"
#include <QUrl> #include <QUrl>
#include <QString> #include <QString>
...@@ -144,6 +145,14 @@ void FileBrowserModel::initialize(MusicListenersManager *manager, DatabaseInterf ...@@ -144,6 +145,14 @@ void FileBrowserModel::initialize(MusicListenersManager *manager, DatabaseInterf
const QString &genre, const QString &artist, qulonglong databaseId, const QString &genre, const QString &artist, qulonglong databaseId,
const QUrl &pathFilter) 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()); setUrl(pathFilter.toLocalFile());
} }
......
...@@ -27,9 +27,6 @@ Q_SIGNALS: ...@@ -27,9 +27,6 @@ Q_SIGNALS:
public Q_SLOTS: public Q_SLOTS:
void enqueueToPlayList(QModelIndex rootIndex);
void replaceAndPlayOfPlayList(QModelIndex rootIndex);
protected: protected:
bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const override; bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const override;
......
Supports Markdown
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