mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 21:28:07 -06:00
Fix caching issues in last commit
This commit is contained in:
@@ -37,12 +37,11 @@ JsonList::JsonList() : m_dirty(false)
|
||||
|
||||
const QString& JsonList::toString() const
|
||||
{
|
||||
static QString str;
|
||||
if (m_dirty) {
|
||||
str = "[" + m_items.join(",") + "]";
|
||||
m_json = "[" + m_items.join(",") + "]";
|
||||
m_dirty = false;
|
||||
}
|
||||
return str;
|
||||
return m_json;
|
||||
}
|
||||
|
||||
void JsonList::clear()
|
||||
|
||||
Reference in New Issue
Block a user