aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/detailsdialog.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-09-22 15:29:54 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-09-22 15:29:54 +0000
commitc9d69d13e214c0071a65ba967276f057d204f8f8 (patch)
treea4900266b80116847b0342da2fc86fbb26595dc0 /src/qmmpui/detailsdialog.cpp
parent362d4e2b4f57a39efeef52a3fd7b5dc432207c0a (diff)
downloadqmmp-c9d69d13e214c0071a65ba967276f057d204f8f8.tar.gz
qmmp-c9d69d13e214c0071a65ba967276f057d204f8f8.tar.bz2
qmmp-c9d69d13e214c0071a65ba967276f057d204f8f8.zip
enabled sndfile plugin
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1248 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/detailsdialog.cpp')
-rw-r--r--src/qmmpui/detailsdialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qmmpui/detailsdialog.cpp b/src/qmmpui/detailsdialog.cpp
index e8f8d8d90..6c56d92bc 100644
--- a/src/qmmpui/detailsdialog.cpp
+++ b/src/qmmpui/detailsdialog.cpp
@@ -52,6 +52,9 @@ DetailsDialog::DetailsDialog(AbstractPlaylistItem *item, QWidget *parent)
else
return;
+ if(!m_metaDataModel)
+ return;
+
foreach(TagModel *tagModel, m_metaDataModel->tags())
{
ui.tabWidget->addTab(new TagEditor(tagModel, this), tagModel->name());