aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/library/librarymodel.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2021-01-16 16:05:06 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2021-01-16 16:05:06 +0000
commitc593f9fb752f038ff68df6d753085890798e5783 (patch)
treeef657b68408a8c818bf08836e62ab731ed035e28 /src/plugins/General/library/librarymodel.h
parent886f9be488970798b2725ad2e9ddf26b5cadee07 (diff)
downloadqmmp-c593f9fb752f038ff68df6d753085890798e5783.tar.gz
qmmp-c593f9fb752f038ff68df6d753085890798e5783.tar.bz2
qmmp-c593f9fb752f038ff68df6d753085890798e5783.zip
refactoring
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9640 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/library/librarymodel.h')
-rw-r--r--src/plugins/General/library/librarymodel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/General/library/librarymodel.h b/src/plugins/General/library/librarymodel.h
index 5ba99d936..885b1af15 100644
--- a/src/plugins/General/library/librarymodel.h
+++ b/src/plugins/General/library/librarymodel.h
@@ -52,9 +52,10 @@ public:
void setFilter(const QString &filter);
void refresh();
void add(const QModelIndexList &indexes);
- void showInformation(const QModelIndexList &indexes, QWidget *parent);
+ void showInformation(const QModelIndexList &indexes, QWidget *parent = nullptr);
private:
+ QList<PlayListTrack *> getTracks(const QModelIndexList &indexes) const;
QList<PlayListTrack *> getTracks(const QModelIndex &index) const;
PlayListTrack *createTrack(const QSqlQuery &query) const;