aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qmmpui/playlistitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmmpui/playlistitem.cpp b/src/qmmpui/playlistitem.cpp
index bdfec7bb0..49f3bcce8 100644
--- a/src/qmmpui/playlistitem.cpp
+++ b/src/qmmpui/playlistitem.cpp
@@ -37,9 +37,9 @@ PlayListItem::PlayListItem(const PlayListItem &other) : QMap<Qmmp::MetaData, QSt
{
m_title = other.m_title;
if (other.m_info)
- {
m_info = new FileInfo(*(other.m_info));
- }
+ else
+ m_info = 0;
m_selected = other.m_selected;
m_current = other.m_current;
m_length = other.m_length;