parent
47ef610816
commit
fa3ea1fcc8
@ -5,6 +5,8 @@ Fixed:
|
||||
|
||||
▪ Fixed problem with importing invalid OPML 2.0 files. (bug #145)
|
||||
▪ Fixed error in SQL initialization script which led to problems with in-memory SQLite DBs. (bug #140)
|
||||
▪ Fixed problem with saving sort column/order for message list. (bug #141)
|
||||
▪ Fixed problem with reloading feeds with newly downloaded messages when read-only-visible feeds filter is activated. (bug #139)
|
||||
|
||||
3.0.1
|
||||
—————
|
||||
|
@ -559,4 +559,5 @@ void MessagesView::adjustColumns() {
|
||||
void MessagesView::saveSortState(int column, Qt::SortOrder order) {
|
||||
qApp->settings()->setValue(GROUP(GUI), GUI::DefaultSortColumnMessages, column);
|
||||
qApp->settings()->setValue(GROUP(GUI), GUI::DefaultSortOrderMessages, order);
|
||||
qApp->settings()->sync();
|
||||
}
|
||||
|
@ -741,6 +741,10 @@ int StandardFeed::updateMessages(const QList<Message> &messages) {
|
||||
else {
|
||||
updateCounts(true);
|
||||
serviceRoot()->itemChanged(QList<RootItem*>() << this);
|
||||
|
||||
if (updated_messages > 0) {
|
||||
serviceRoot()->requestFeedReadFilterReload();
|
||||
}
|
||||
}
|
||||
|
||||
return updated_messages;
|
||||
|
@ -64,7 +64,8 @@ StandardServiceRoot::~StandardServiceRoot() {
|
||||
void StandardServiceRoot::start() {
|
||||
loadFromDatabase();
|
||||
|
||||
if (qApp->isFirstRun()) {
|
||||
if (getSubTree(RootItemKind::Category | RootItemKind::Feed).isEmpty()) {
|
||||
// In other words, if there are no feeds or categories added.
|
||||
if (MessageBox::show(qApp->mainForm(), QMessageBox::Question, QObject::tr("Load initial set of feeds"),
|
||||
tr("You started %1 for the first time, now you can load initial set of feeds.").arg(APP_NAME),
|
||||
tr("Do you want to load initial set of feeds?"),
|
||||
|
@ -380,6 +380,10 @@ int TtRssFeed::updateMessages(const QList<Message> &messages) {
|
||||
|
||||
updateCounts(true);
|
||||
serviceRoot()->itemChanged(QList<RootItem*>() << this);
|
||||
|
||||
if (updated_messages > 0) {
|
||||
serviceRoot()->requestFeedReadFilterReload();
|
||||
}
|
||||
}
|
||||
|
||||
return updated_messages;
|
||||
|
Loading…
x
Reference in New Issue
Block a user