diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-08-05 11:50:37 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-08-05 11:50:37 +0000 |
| commit | 245d0ac0cdb729c94ca71dc035342154d70aa8e5 (patch) | |
| tree | f908567eb29ddba73c36e82511605d3635a897e8 /src/plugins/General/copypaste | |
| parent | d04ab1bfe9a70049e0c9ee753835c95a6ccf2086 (diff) | |
| download | qmmp-245d0ac0cdb729c94ca71dc035342154d70aa8e5.tar.gz qmmp-245d0ac0cdb729c94ca71dc035342154d70aa8e5.tar.bz2 qmmp-245d0ac0cdb729c94ca71dc035342154d70aa8e5.zip | |
added playlist groups, disabled broken plugins
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3564 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/copypaste')
| -rw-r--r-- | src/plugins/General/copypaste/copypaste.cpp | 12 | ||||
| -rw-r--r-- | src/plugins/General/copypaste/copypaste.h | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/General/copypaste/copypaste.cpp b/src/plugins/General/copypaste/copypaste.cpp index 87fc8a275..2d9576187 100644 --- a/src/plugins/General/copypaste/copypaste.cpp +++ b/src/plugins/General/copypaste/copypaste.cpp @@ -66,9 +66,9 @@ void CopyPaste::cut() qDebug("%s", Q_FUNC_INFO); qDeleteAll(m_buffer); m_buffer.clear(); - foreach(PlayListItem *item, m_pl_manager->selectedPlayList()->selectedItems()) + foreach(PlayListTrack *item, m_pl_manager->selectedPlayList()->selectedItems()) { - m_buffer.append(new PlayListItem(*item)); + m_buffer.append(new PlayListTrack(*item)); } m_pl_manager->selectedPlayList()->removeSelected(); } @@ -78,17 +78,17 @@ void CopyPaste::copy() qDebug("%s", Q_FUNC_INFO); qDeleteAll(m_buffer); m_buffer.clear(); - foreach(PlayListItem *item, m_pl_manager->selectedPlayList()->selectedItems()) + foreach(PlayListTrack *item, m_pl_manager->selectedPlayList()->selectedItems()) { - m_buffer.append(new PlayListItem(*item)); + m_buffer.append(new PlayListTrack(*item)); } } void CopyPaste::paste() { qDebug("%s", Q_FUNC_INFO); - foreach(PlayListItem *item, m_buffer) + foreach(PlayListTrack *item, m_buffer) { - m_pl_manager->selectedPlayList()->add(new PlayListItem(*item)); + m_pl_manager->selectedPlayList()->add(new PlayListTrack(*item)); } } diff --git a/src/plugins/General/copypaste/copypaste.h b/src/plugins/General/copypaste/copypaste.h index 9a444f26c..3b550122c 100644 --- a/src/plugins/General/copypaste/copypaste.h +++ b/src/plugins/General/copypaste/copypaste.h @@ -26,7 +26,7 @@ class QAction; class SoundCore; -class PlayListItem; +class PlayListTrack; class PlayListManager; /** @@ -47,7 +47,7 @@ private slots: private: PlayListManager *m_pl_manager; - QList<PlayListItem *> m_buffer; + QList<PlayListTrack *> m_buffer; }; #endif //COPYPASTE_H |
