mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-26 03:59:55 +00:00
do not replace space to nbsp in some cases (#143)
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user