|
|
@ -123,6 +123,7 @@ public: |
|
|
|
QStringList supportedCategories() const { |
|
|
|
QStringList supportedCategories() const { |
|
|
|
QStringList supported_cat; |
|
|
|
QStringList supported_cat; |
|
|
|
foreach(SupportedEngine *engine, values()) { |
|
|
|
foreach(SupportedEngine *engine, values()) { |
|
|
|
|
|
|
|
if(engine->isEnabled()) { |
|
|
|
QStringList s = engine->getSupportedCategories(); |
|
|
|
QStringList s = engine->getSupportedCategories(); |
|
|
|
foreach(QString cat, s) { |
|
|
|
foreach(QString cat, s) { |
|
|
|
cat = cat.trimmed(); |
|
|
|
cat = cat.trimmed(); |
|
|
@ -130,6 +131,7 @@ public: |
|
|
|
supported_cat << cat; |
|
|
|
supported_cat << cat; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
return supported_cat; |
|
|
|
return supported_cat; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|