aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui')
-rw-r--r--src/qmmpui/songinfo.cpp10
-rw-r--r--src/qmmpui/songinfo.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/src/qmmpui/songinfo.cpp b/src/qmmpui/songinfo.cpp
index 15d134723..6760a6ac4 100644
--- a/src/qmmpui/songinfo.cpp
+++ b/src/qmmpui/songinfo.cpp
@@ -120,22 +120,22 @@ const QString SongInfo::fileName () const
return m_path.section('/',-1);
}
-const uint SongInfo::year () const
+uint SongInfo::year () const
{
return m_numValues[YEAR];
}
-const uint SongInfo::track () const
+uint SongInfo::track () const
{
return m_numValues[TRACK];
}
-const uint SongInfo::length () const
+uint SongInfo::length () const
{
return m_numValues[LENGTH];
}
-const bool SongInfo::isEmpty () const
+bool SongInfo::isEmpty () const
{
return m_strValues.isEmpty();
}
@@ -147,7 +147,7 @@ void SongInfo::clear ()
m_stream = FALSE;
}
-const bool SongInfo::isStream () const
+bool SongInfo::isStream () const
{
return m_stream;
}
diff --git a/src/qmmpui/songinfo.h b/src/qmmpui/songinfo.h
index af49b0b67..98600f7d3 100644
--- a/src/qmmpui/songinfo.h
+++ b/src/qmmpui/songinfo.h
@@ -62,11 +62,11 @@ public:
const QString genre () const;
const QString path () const;
const QString fileName () const;
- const uint year () const;
- const uint track () const;
- const uint length () const;
- const bool isEmpty () const;
- const bool isStream () const;
+ uint year () const;
+ uint track () const;
+ uint length () const;
+ bool isEmpty () const;
+ bool isStream () const;
void clear();
private: