aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/mad/decodermadfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Input/mad/decodermadfactory.cpp')
-rw-r--r--src/plugins/Input/mad/decodermadfactory.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/plugins/Input/mad/decodermadfactory.cpp b/src/plugins/Input/mad/decodermadfactory.cpp
index fd45987c7..d4d881cd8 100644
--- a/src/plugins/Input/mad/decodermadfactory.cpp
+++ b/src/plugins/Input/mad/decodermadfactory.cpp
@@ -31,7 +31,7 @@
#include <taglib/tfile.h>
#include <taglib/mpegfile.h>
-#include "detailsdialog.h"
+#include "mpegmetadatamodel.h"
#include "settingsdialog.h"
#include "decoder_mad.h"
#include "decodermadfactory.h"
@@ -207,11 +207,9 @@ QList<FileInfo *> DecoderMADFactory::createPlayList(const QString &fileName, boo
return list;
}
-QObject* DecoderMADFactory::showDetails(QWidget *parent, const QString &path)
+MetaDataModel* DecoderMADFactory::createMetaDataModel(const QString &path, QObject *parent)
{
- DetailsDialog *d = new DetailsDialog(parent, path);
- d -> show();
- return d;
+ return new MPEGMetaDataModel(path, parent);
}
void DecoderMADFactory::showSettings(QWidget *parent)