aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qmmp/tagmodel.cpp4
-rw-r--r--src/qmmp/tagmodel.h2
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;