do not replace space to nbsp in some cases (#143)

This commit is contained in:
2020-04-18 03:04:32 +03:00
parent 0f19bce80d
commit e525cb4742
12 changed files with 27 additions and 17 deletions

View File

@ -46,13 +46,13 @@ QString AWCustomKeysHelper::source(const QString &_key) const
QStringList AWCustomKeysHelper::sources() const
{
return QSet<QString>::fromList(values()).toList();
return valuesSet().values();
}
QStringList AWCustomKeysHelper::refinedSources() const
{
auto allSources = QSet<QString>::fromList(pairs().values());
auto allSources = valuesSet();
QSet<QString> output;
while (output != allSources) {
@ -62,7 +62,7 @@ QStringList AWCustomKeysHelper::refinedSources() const
allSources = output;
}
return output.toList();
return output.values();
}