From 65bc8828a6b30fc16d9b66d5c678bfdd01ed8bb8 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 7 Mar 2015 09:00:57 +0000 Subject: moved PlayListHeader from PlayList to ListWidget git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4762 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Ui/skinned/playlist.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/plugins/Ui/skinned/playlist.cpp') diff --git a/src/plugins/Ui/skinned/playlist.cpp b/src/plugins/Ui/skinned/playlist.cpp index bfb8e5e7a..27352ae0e 100644 --- a/src/plugins/Ui/skinned/playlist.cpp +++ b/src/plugins/Ui/skinned/playlist.cpp @@ -63,7 +63,6 @@ PlayList::PlayList (PlayListManager *manager, QWidget *parent) m_shaded = false; m_pl_browser = 0; m_pl_selector = 0; - m_pl_header = 0; resize (275*m_ratio, 116*m_ratio); setSizeIncrement (25*m_ratio, 29*m_ratio); @@ -160,14 +159,6 @@ void PlayList::updatePositions() pl_h -= m_pl_selector->height(); } - if(m_pl_header) - { - m_pl_header->resize(243*m_ratio+25*sx, m_pl_header->height()); - m_pl_header->move(pl_x, pl_y); - pl_y += m_pl_selector->height(); - pl_h -= m_pl_selector->height(); - } - m_listWidget->resize (pl_w, pl_h); m_listWidget->move (pl_x, pl_y); @@ -469,14 +460,6 @@ void PlayList::readSettings() m_pl_selector = 0; } - if(!m_pl_header) - { - m_pl_header = new PlayListHeader(this); - m_pl_header->setModel(m_pl_manager->currentPlayList()); - connect(m_pl_manager, SIGNAL(selectedPlayListChanged(PlayListModel*,PlayListModel*)), - m_pl_header, SLOT(setModel(PlayListModel*,PlayListModel*))); - } - if (m_update) { m_listWidget->readSettings(); -- cgit v1.2.3-13-gbd6f