aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlisttrack.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2017-10-26 18:45:08 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2017-10-26 18:45:08 +0000
commit3c37f74539cf870d563c44b92fc82852b5c46012 (patch)
treeeb25ed884c7861eb232c05c637db9fa07f0aa5b4 /src/qmmpui/playlisttrack.cpp
parentb3d32cd1275310aa7c536c2703abdd3b2f237b9d (diff)
downloadqmmp-3c37f74539cf870d563c44b92fc82852b5c46012.tar.gz
qmmp-3c37f74539cf870d563c44b92fc82852b5c46012.tar.bz2
qmmp-3c37f74539cf870d563c44b92fc82852b5c46012.zip
fixed memory leaks and other errors
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7649 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlisttrack.cpp')
-rw-r--r--src/qmmpui/playlisttrack.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qmmpui/playlisttrack.cpp b/src/qmmpui/playlisttrack.cpp
index b13a91131..c9c838622 100644
--- a/src/qmmpui/playlisttrack.cpp
+++ b/src/qmmpui/playlisttrack.cpp
@@ -81,6 +81,7 @@ PlayListTrack &PlayListTrack::operator=(const PlayListTrack &other)
setSelected(other.isSelected());
m_length = other.m_length;
m_formattedLength = other.m_formattedLength;
+ return *this;
}
void PlayListTrack::updateMetaData(const QMap <Qmmp::MetaData, QString> &metaData)