diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-04-30 18:29:11 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-04-30 18:29:11 +0000 |
| commit | aa167f22dbbeb4c2b680bc860dbc409d5a447864 (patch) | |
| tree | fd5a0ac440a784de26546e23acf798b042bec75b /src/qmmpui/playlistmodel.h | |
| parent | 4fa75cf5e6e7f0abe43d68342d1f7ff993c0c3f6 (diff) | |
| download | qmmp-aa167f22dbbeb4c2b680bc860dbc409d5a447864.tar.gz qmmp-aa167f22dbbeb4c2b680bc860dbc409d5a447864.tar.bz2 qmmp-aa167f22dbbeb4c2b680bc860dbc409d5a447864.zip | |
changed playlist API, fixed some issues
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7940 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistmodel.h')
| -rw-r--r-- | src/qmmpui/playlistmodel.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qmmpui/playlistmodel.h b/src/qmmpui/playlistmodel.h index 73f49ec1f..cdc492452 100644 --- a/src/qmmpui/playlistmodel.h +++ b/src/qmmpui/playlistmodel.h @@ -288,9 +288,9 @@ public: */ int firstSelectedLower(int row); /*! - * Returns total lenght in seconds of all songs. + * Returns total duration in milliseconds of all songs. */ - int totalLength() const; + int totalDuration() const; /*! * Loads playlist with \b f_name name. */ @@ -592,7 +592,7 @@ private: SimpleSelection m_selection; /*!< This flyweight object represents current selection. */ QQueue <PlayListTrack*> m_queued_songs; /*!< Songs in play queue. */ PlayState* m_play_state; /*!< Current playing state (Normal or Shuffle) */ - int m_total_length; + qint64 m_total_duration; FileLoader *m_loader; QString m_name; PlayListContainer *m_container; |
