diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-09-15 20:45:05 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-09-15 20:45:05 +0000 |
| commit | 456a92e807dbd69c828683a5ff557af07cabc1d0 (patch) | |
| tree | d329c717c6db4fcb1d907930a0122d501eddbdda | |
| parent | 1cc4b9337707fa975cbf0f6885f1b7ab7a4c5fd4 (diff) | |
| download | qmmp-456a92e807dbd69c828683a5ff557af07cabc1d0.tar.gz qmmp-456a92e807dbd69c828683a5ff557af07cabc1d0.tar.bz2 qmmp-456a92e807dbd69c828683a5ff557af07cabc1d0.zip | |
changed TagModel API
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8293 90c681e8-e032-0410-971d-27865f9a5e38
| -rw-r--r-- | src/qmmp/tagmodel.cpp | 4 | ||||
| -rw-r--r-- | src/qmmp/tagmodel.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/qmmp/tagmodel.cpp b/src/qmmp/tagmodel.cpp index 0da91581f..9dcede5cc 100644 --- a/src/qmmp/tagmodel.cpp +++ b/src/qmmp/tagmodel.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2009 by Ilya Kotov * + * Copyright (C) 2009-2018 by Ilya Kotov * * forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -49,7 +49,7 @@ QList<Qmmp::MetaData> TagModel::keys() const return list; } -int TagModel::caps() +TagModel::ModelCaps TagModel::caps() const { return m_f; } diff --git a/src/qmmp/tagmodel.h b/src/qmmp/tagmodel.h index 4b7e20683..aff99abfa 100644 --- a/src/qmmp/tagmodel.h +++ b/src/qmmp/tagmodel.h @@ -95,7 +95,7 @@ public: /*! * Returns capability flags. */ - int caps(); + ModelCaps caps() const; private: ModelCaps m_f; |
