Commit ae3c345b authored by Bart van der Velden's avatar Bart van der Velden

Fix a unit test by implementation (#65)

parent 9ae280a3
......@@ -16,16 +16,19 @@
#include "Track.h"
#include <QDir>
using namespace std;
using namespace mc::collection;
Track::Track(const QString& path, const Directory* dir)
: m_path(path)
m_relativePath = QDir::current().relativeFilePath(path);
QString Track::RelativePath() const
return "";
return m_relativePath;
......@@ -46,7 +46,8 @@ namespace mc
QString RelativePath() const;
QString m_path;
QString m_relativePath;
// Not implemented
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment