diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-10-26 16:41:19 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-10-26 16:41:19 +0000 |
| commit | b45e369d2b4872ba46446913991b6ae5dd9ad414 (patch) | |
| tree | 5b862a4a08c82b98c420ebed49af7dcb829bba5c /src/qmmpui/groupedcontainer_p.h | |
| parent | d718a3a8ef64424364af747e39c48b8605ee21ad (diff) | |
| download | qmmp-b45e369d2b4872ba46446913991b6ae5dd9ad414.tar.gz qmmp-b45e369d2b4872ba46446913991b6ae5dd9ad414.tar.bz2 qmmp-b45e369d2b4872ba46446913991b6ae5dd9ad414.zip | |
playlist container optimization
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4597 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/groupedcontainer_p.h')
| -rw-r--r-- | src/qmmpui/groupedcontainer_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmmpui/groupedcontainer_p.h b/src/qmmpui/groupedcontainer_p.h index ad025866d..241b07fc4 100644 --- a/src/qmmpui/groupedcontainer_p.h +++ b/src/qmmpui/groupedcontainer_p.h @@ -34,6 +34,7 @@ public: virtual ~GroupedContainer(); + void addTrack(PlayListTrack *track); void addTracks(QList<PlayListTrack *> tracks); void insertTrack(int index, PlayListTrack *track); QList<PlayListGroup *> groups() const; @@ -64,9 +65,8 @@ public: void sortSelection(int mode); private: - void addGroup(PlayListGroup *group); void updateCache() const; - mutable QList<PlayListGroup *> m_groups; + QList<PlayListGroup *> m_groups; bool m_reverted; mutable QList<PlayListItem *> m_items; |
