summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-12-27 03:55:59 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2010-12-27 03:55:59 +0100
commitcd8874addb61e11cef83d4be31110ed670b58884 (patch)
tree45f8a8aae9325b97e83acdce741cc499c8801dea
parent9f78196611d8065f63ae4a81297723663d222ebe (diff)
Store MusicDirectory's root path.
-rw-r--r--music.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/music.cpp b/music.cpp
index f1623c4..39a5936 100644
--- a/music.cpp
+++ b/music.cpp
@@ -18,6 +18,7 @@ MusicTrack::MusicTrack(const fs::path path) {
}
MusicDirectory::MusicDirectory(const fs::path root) {
+ this->path = root;
std::cout << root << std::endl;
fs::path p(root);