From 4da0809944474ccd059d0ab89d17f500c8d8d8ea Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 26 Sep 2010 07:22:18 +0000 Subject: fixed 'copy selection' patch (Avihay Baratz) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1914 90c681e8-e032-0410-971d-27865f9a5e38 --- src/ui/playlist.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/ui/playlist.cpp') diff --git a/src/ui/playlist.cpp b/src/ui/playlist.cpp index 7786ec249..984b75e3b 100644 --- a/src/ui/playlist.cpp +++ b/src/ui/playlist.cpp @@ -665,14 +665,6 @@ void PlayList::copySelectedMenuActionTriggered( QAction * action) QList theCopy; foreach(PlayListItem *item, m_pl_manager->selectedPlayList()->getSelectedItems()) { - item->updateTags(); - //NOTE: explicitly using default copy constructor default copy - //constructor doesn't do a deep copy so *m_info points to where the - //original did.this may very well be unnecessary, but I call - //updateTags() for readMetadata() to zero it before the copy - //TODO: If the PlayListItem default copy constructor isn't used - //elsewhere, a default copy constructor should be written that takes - //care of m_info and remove the line above PlayListItem *newItem = new PlayListItem(*item); theCopy << newItem; } -- cgit v1.2.3-13-gbd6f