mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-19 16:49:57 +00:00
Replace yahoo finance to stooq (#131)
Old code is dropped to separated provider
This commit is contained in:
@ -139,10 +139,9 @@ private:
|
||||
qCInfo(LOG_LIB) << "Found file" << file << "in" << dir;
|
||||
QString filePath = QString("%1/%2").arg(dir).arg(file);
|
||||
// check if already exists
|
||||
if (std::any_of(items.cbegin(), items.cend(),
|
||||
[&filePath](AbstractExtItem *item) {
|
||||
return (item->fileName() == filePath);
|
||||
}))
|
||||
if (std::any_of(items.cbegin(), items.cend(), [&filePath](AbstractExtItem *item) {
|
||||
return (item->fileName() == filePath);
|
||||
}))
|
||||
continue;
|
||||
items.append(new T(this, filePath));
|
||||
}
|
||||
|
Reference in New Issue
Block a user