Fixed #137.
This commit is contained in:
parent
895427a1d4
commit
d94b87d4aa
@ -7,6 +7,10 @@ Added:
|
||||
▪ Auto-update setting of individual Tiny Tiny RSS feeds can now be changed.
|
||||
▪ RSS Guard is now useable as external RSS reader by common web browsers like Firefox etc. (issue #135)
|
||||
|
||||
Fixed:
|
||||
|
||||
▪ Problem with adding/editing TT-RSS accounts. (bug #137)
|
||||
|
||||
3.0.0
|
||||
—————
|
||||
|
||||
|
@ -431,10 +431,10 @@ void TtRssServiceRoot::saveAccountDataToDatabase() {
|
||||
query.bindValue(QSL(":username"), m_network->username());
|
||||
query.bindValue(QSL(":password"), TextFactory::encrypt(m_network->password()));
|
||||
query.bindValue(QSL(":url"), m_network->url());
|
||||
query.bindValue(QSL(":auth_protected"), m_network->authIsUsed());
|
||||
query.bindValue(QSL(":auth_protected"), (int) m_network->authIsUsed());
|
||||
query.bindValue(QSL(":auth_username"), m_network->authUsername());
|
||||
query.bindValue(QSL(":auth_password"), TextFactory::encrypt(m_network->authPassword()));
|
||||
query.bindValue(QSL(":force_update"), m_network->forceServerSideUpdate());
|
||||
query.bindValue(QSL(":force_update"), (int) m_network->forceServerSideUpdate());
|
||||
query.bindValue(QSL(":id"), accountId());
|
||||
|
||||
if (query.exec()) {
|
||||
@ -470,11 +470,11 @@ void TtRssServiceRoot::saveAccountDataToDatabase() {
|
||||
query.bindValue(QSL(":id"), id_to_assign);
|
||||
query.bindValue(QSL(":username"), m_network->username());
|
||||
query.bindValue(QSL(":password"), TextFactory::encrypt(m_network->password()));
|
||||
query.bindValue(QSL(":auth_protected"), m_network->authIsUsed());
|
||||
query.bindValue(QSL(":auth_protected"), (int) m_network->authIsUsed());
|
||||
query.bindValue(QSL(":auth_username"), m_network->authUsername());
|
||||
query.bindValue(QSL(":auth_password"), TextFactory::encrypt(m_network->authPassword()));
|
||||
query.bindValue(QSL(":url"), m_network->url());
|
||||
query.bindValue(QSL(":force_update"), m_network->forceServerSideUpdate());
|
||||
query.bindValue(QSL(":force_update"), (int) m_network->forceServerSideUpdate());
|
||||
|
||||
saved &= query.exec();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user