From fde56afe65ba10a6780798ff48e800e15c8b0034 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 9 Jan 2015 13:37:43 +0000 Subject: removed useless code git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4678 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Ui/skinned/playlist.cpp | 8 +------- src/plugins/Ui/skinned/playlist.h | 8 +------- 2 files changed, 2 insertions(+), 14 deletions(-) (limited to 'src') diff --git a/src/plugins/Ui/skinned/playlist.cpp b/src/plugins/Ui/skinned/playlist.cpp index bc58312d0..b01dc9ba8 100644 --- a/src/plugins/Ui/skinned/playlist.cpp +++ b/src/plugins/Ui/skinned/playlist.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2014 by Ilya Kotov * + * Copyright (C) 2006-2015 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -531,12 +531,6 @@ void PlayList::setTime(qint64 time) } } -void PlayList::updateList() -{ - m_listWidget->updateList(); - m_titleBar->showCurrent(); -} - void PlayList::showPlaylistMenu() { m_playlistMenu->exec (m_playlistButton->mapToGlobal (QPoint (0,0))); diff --git a/src/plugins/Ui/skinned/playlist.h b/src/plugins/Ui/skinned/playlist.h index 12454bbdf..db3250dba 100644 --- a/src/plugins/Ui/skinned/playlist.h +++ b/src/plugins/Ui/skinned/playlist.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2013 by Ilya Kotov * + * Copyright (C) 2006-2015 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -53,11 +53,6 @@ class PlayList : public QWidget virtual ~PlayList(); void readSettings(); - - ListWidget* listWidget() const - { - return m_listWidget; - } void setMinimalMode(bool b = true); signals: @@ -73,7 +68,6 @@ class PlayList : public QWidget public slots: void setTime(qint64 time); - void updateList(); private slots: void showAddMenu(); -- cgit v1.2.3-13-gbd6f