From bb4526c98560a4b7da9b26ed37258e202430d2ee Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 18 Feb 2009 17:21:36 +0000 Subject: removed useless option git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@794 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/playlistitem.cpp | 5 +---- src/qmmpui/playlistitem.h | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'src/qmmpui') diff --git a/src/qmmpui/playlistitem.cpp b/src/qmmpui/playlistitem.cpp index ad4bc9cef..f52aec350 100644 --- a/src/qmmpui/playlistitem.cpp +++ b/src/qmmpui/playlistitem.cpp @@ -46,7 +46,6 @@ PlayListItem::PlayListItem(FileInfo *info, QSettings *settings) : AbstractPlayli //other properties m_convertUnderscore = s->value ("PlayList/convert_underscore", TRUE).toBool(); m_convertTwenty = s->value ("PlayList/convert_twenty", TRUE).toBool(); - m_fullStreamPath = s->value ("PlayList/full_stream_path", FALSE).toBool(); if (!settings) //delete created settings only delete s; @@ -137,9 +136,7 @@ void PlayListItem::readMetadata() //TODO rewrite this if (m_title.isEmpty()) { - if (url().startsWith("http://") && m_fullStreamPath) - m_title = url(); - else if (url().contains('/')) + if (url().contains('/')) m_title = url().split('/',QString::SkipEmptyParts).takeLast (); } if (m_info) diff --git a/src/qmmpui/playlistitem.h b/src/qmmpui/playlistitem.h index ce26ca2f5..5fbc6a716 100644 --- a/src/qmmpui/playlistitem.h +++ b/src/qmmpui/playlistitem.h @@ -66,7 +66,7 @@ private: bool m_selected; bool m_current; bool m_use_meta; - bool m_convertUnderscore, m_convertTwenty, m_fullStreamPath; + bool m_convertUnderscore, m_convertTwenty; QString m_format; FLAGS m_flag; }; -- cgit v1.2.3-13-gbd6f