Allow to edit RSS feed URL

PR #18807.
Closes #5489.
This commit is contained in:
Vladimir Golovnev
2023-04-07 14:22:50 +03:00
committed by GitHub
parent cecf2d28e6
commit b8cd614775
12 changed files with 170 additions and 18 deletions

View File

@@ -455,6 +455,13 @@ Path Feed::iconPath() const
return m_iconPath;
}
void Feed::setURL(const QString &url)
{
const QString oldURL = m_url;
m_url = url;
emit urlChanged(oldURL);
}
QJsonValue Feed::toJsonValue(const bool withData) const
{
QJsonObject jsonObj;