diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-07-06 19:34:58 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-07-06 19:34:58 +0000 |
| commit | b97d5da365d53ef73af199985d4f2091f863fd85 (patch) | |
| tree | 01ff168fcb6c64e3a850d5ffb200deedf3e9a844 /src/qmmpui/playlistmodel.h | |
| parent | 0c9515e6f8220fc847065a766f8be7612126f18a (diff) | |
| download | qmmp-b97d5da365d53ef73af199985d4f2091f863fd85.tar.gz qmmp-b97d5da365d53ef73af199985d4f2091f863fd85.tar.bz2 qmmp-b97d5da365d53ef73af199985d4f2091f863fd85.zip | |
changed PlayListTask::sort and PlayListTask::sortSelection functions
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8112 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistmodel.h')
| -rw-r--r-- | src/qmmpui/playlistmodel.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qmmpui/playlistmodel.h b/src/qmmpui/playlistmodel.h index cdc492452..6ca9471bf 100644 --- a/src/qmmpui/playlistmodel.h +++ b/src/qmmpui/playlistmodel.h @@ -505,11 +505,11 @@ public slots: /*! * Sorts selected items in \b mode sort mode. */ - void sortSelection(int mode); + void sortSelection(SortMode mode); /*! * Sorts items in \b mode sort mode. */ - void sort(int mode); + void sort(SortMode mode); /*! * Sorts tracks by the column with index \b column. */ @@ -600,4 +600,6 @@ private: PlayListTask *m_task; }; +Q_DECLARE_METATYPE(PlayListModel::SortMode) + #endif |
