diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2007-08-04 14:39:34 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2007-08-04 14:39:34 +0000 |
| commit | 1ca3ac9753d94a606725abd125bded28e19c7348 (patch) | |
| tree | be571fc839ab875213517b69ade041423262b0fa /lib/decoder.cpp | |
| parent | afd64439fdccc8b8b1245b210d49f640e608a99d (diff) | |
| download | qmmp-1ca3ac9753d94a606725abd125bded28e19c7348.tar.gz qmmp-1ca3ac9753d94a606725abd125bded28e19c7348.tar.bz2 qmmp-1ca3ac9753d94a606725abd125bded28e19c7348.zip | |
fixed compilation
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@59 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'lib/decoder.cpp')
| -rw-r--r-- | lib/decoder.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/decoder.cpp b/lib/decoder.cpp index db10678cd..4e17c38a0 100644 --- a/lib/decoder.cpp +++ b/lib/decoder.cpp @@ -103,7 +103,7 @@ QStringList Decoder::all() DecoderFactory *fact; foreach(fact, *factories) { - l << fact->description(); + l << fact->properties().description; } return l; } @@ -173,7 +173,7 @@ DecoderFactory *Decoder::findByContentType(const QString& type) { if (!blacklist.contains(files.at(i).section('/',-1))) { - QStringList types = factories->at(i)->contentType().split(";"); + QStringList types = factories->at(i)->properties().contentType.split(";"); for(int j=0; j<types.size(); ++j) { if(type == types[j] && !types[j].isEmpty()) @@ -207,8 +207,8 @@ QString Decoder::filter() if (!blacklist.contains(files.at(i).section('/',-1))) { fact = (*factories)[i]; - allflt +=fact->filter().toLower() +" "; - flt += fact->description() + " (" + fact->filter().toLower() + ")"; + allflt +=fact->properties().filter.toLower() +" "; + flt += fact->properties().description + " (" + fact->properties().filter + ")"; flt += ";;"; } } @@ -227,7 +227,7 @@ QStringList Decoder::nameFilters() for (int i=0; i<factories->size(); ++i) { if (!blacklist.contains(files.at(i).section('/',-1))) - filters << factories->at(i)->filter().split(" ", QString::SkipEmptyParts); + filters << factories->at(i)->properties().filter.split(" ", QString::SkipEmptyParts); } return filters; } |
