|
|
@ -123,11 +123,13 @@ public: |
|
|
|
QStringList supportedCategories() const { |
|
|
|
QStringList supportedCategories() const { |
|
|
|
QStringList supported_cat; |
|
|
|
QStringList supported_cat; |
|
|
|
foreach(SupportedEngine *engine, values()) { |
|
|
|
foreach(SupportedEngine *engine, values()) { |
|
|
|
QStringList s = engine->getSupportedCategories(); |
|
|
|
if(engine->isEnabled()) { |
|
|
|
foreach(QString cat, s) { |
|
|
|
QStringList s = engine->getSupportedCategories(); |
|
|
|
cat = cat.trimmed(); |
|
|
|
foreach(QString cat, s) { |
|
|
|
if(!cat.isEmpty() && !supported_cat.contains(cat)) |
|
|
|
cat = cat.trimmed(); |
|
|
|
supported_cat << cat; |
|
|
|
if(!cat.isEmpty() && !supported_cat.contains(cat)) |
|
|
|
|
|
|
|
supported_cat << cat; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
return supported_cat; |
|
|
|
return supported_cat; |
|
|
|