diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-09-10 12:04:51 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-09-10 12:04:51 +0000 |
| commit | 7586a65427862831590a963b5f8f9d2712271ca0 (patch) | |
| tree | f08c46e911f61aba4a54afc2aee64c9b0ec61d23 /src/plugins/Input/mad/decodermadfactory.cpp | |
| parent | fd6e0ed378bf00b8616f4d054c0c41f1156dd078 (diff) | |
| download | qmmp-7586a65427862831590a963b5f8f9d2712271ca0.tar.gz qmmp-7586a65427862831590a963b5f8f9d2712271ca0.tar.bz2 qmmp-7586a65427862831590a963b5f8f9d2712271ca0.zip | |
added new details dialog, disabled input plugins due api changes
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1194 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/mad/decodermadfactory.cpp')
| -rw-r--r-- | src/plugins/Input/mad/decodermadfactory.cpp | 8 |
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) |
