aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlistmodel.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-09-16 12:45:41 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-09-16 12:45:41 +0000
commit935e31e01dcd5d680d6dda4b3fd9136649436f39 (patch)
tree72770616f1a8eac62f10604621a79ae6522411f8 /src/qmmpui/playlistmodel.cpp
parent1a24a61265d498ab3948c79c99efdc53f576dc61 (diff)
downloadqmmp-935e31e01dcd5d680d6dda4b3fd9136649436f39.tar.gz
qmmp-935e31e01dcd5d680d6dda4b3fd9136649436f39.tar.bz2
qmmp-935e31e01dcd5d680d6dda4b3fd9136649436f39.zip
enabled support for streams
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1226 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistmodel.cpp')
-rw-r--r--src/qmmpui/playlistmodel.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/qmmpui/playlistmodel.cpp b/src/qmmpui/playlistmodel.cpp
index 893850e51..3428c0390 100644
--- a/src/qmmpui/playlistmodel.cpp
+++ b/src/qmmpui/playlistmodel.cpp
@@ -358,29 +358,6 @@ void PlayListModel::showDetails()
{
if (m_items.at(i)->isSelected())
{
- if (!QFile::exists(m_items.at(i)->url()))
- {
- PlayListItem *item = m_items.at(i);
- QString str;
- str.append(tr("URL:") + " %1\n");
- str.append(tr("Title:") + " %2\n");
- str.append(tr("Artist:") + " %3\n");
- str.append(tr("Album:") + " %4\n");
- str.append(tr("Genre:") + " %5\n");
- str.append(tr("Comment:") + " %6\n");
- str.append(tr("Composer:") + " %7\n");
- str.append(tr("Disc number:") + " %8");
- str = str.arg(item->url())
- .arg(item->title().isEmpty() ? item->text() : item->title())
- .arg(item->artist())
- .arg(item->album())
- .arg(item->genre())
- .arg(item->comment())
- .arg(item->composer())
- .arg(item->discNumber());
- QMessageBox::information(0, m_items.at(i)->url(), str);
- return;
- }
QDialog *d = new DetailsDialog(m_items.at(i)); //TODO set parent widget
TagUpdater *updater = new TagUpdater(d, m_items.at(i));
m_editing_items.append(m_items.at(i));