mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-19 08:39:57 +00:00
wayland support
This commit is contained in:
@ -49,15 +49,13 @@ void StooqQuotesProvider::initUrl(const QString &_asset)
|
||||
}
|
||||
|
||||
|
||||
QVariantHash StooqQuotesProvider::parse(const QByteArray &_source,
|
||||
const QVariantHash &_oldValues) const
|
||||
QVariantHash StooqQuotesProvider::parse(const QByteArray &_source, const QVariantHash &_oldValues) const
|
||||
{
|
||||
qCDebug(LOG_LIB) << "Parse csv" << _source;
|
||||
|
||||
QVariantHash values;
|
||||
|
||||
QStringList sourceValues
|
||||
= QTextCodec::codecForMib(106)->toUnicode(_source).trimmed().split(',');
|
||||
QStringList sourceValues = QTextCodec::codecForMib(106)->toUnicode(_source).trimmed().split(',');
|
||||
if (sourceValues.count() != 2) {
|
||||
qCWarning(LOG_LIB) << "Parse error" << sourceValues;
|
||||
return values;
|
||||
|
Reference in New Issue
Block a user