projects
/
someplayer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Minor fixes in database storage
[someplayer]
/
src
/
playlist.cpp
diff --git
a/src/playlist.cpp
b/src/playlist.cpp
index
a934bb1
..
d036714
100644
(file)
--- a/
src/playlist.cpp
+++ b/
src/playlist.cpp
@@
-7,6
+7,17
@@
Playlist::Playlist()
_name = "New playlist";
}
_name = "New playlist";
}
+Playlist::Playlist(const Playlist &playlist) {
+ _name = playlist.name();
+ _tracks = playlist.tracks();
+}
+
+Playlist& Playlist::operator =(const Playlist &playlist) {
+ _name = playlist.name();
+ _tracks = playlist.tracks();
+ return *this;
+}
+
QString Playlist::name() const {
return _name;
}
QString Playlist::name() const {
return _name;
}