mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Fix caching issues in last commit
This commit is contained in:
parent
9a964d871d
commit
122655758d
5 changed files with 25 additions and 13 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue