parent
47ef610816
commit
fa3ea1fcc8
5 changed files with 13 additions and 1 deletions
|
|
@ -5,6 +5,8 @@ Fixed:
|
||||||
|
|
||||||
▪ Fixed problem with importing invalid OPML 2.0 files. (bug #145)
|
▪ 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 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
|
3.0.1
|
||||||
—————
|
—————
|
||||||
|
|
|
||||||
|
|
@ -559,4 +559,5 @@ void MessagesView::adjustColumns() {
|
||||||
void MessagesView::saveSortState(int column, Qt::SortOrder order) {
|
void MessagesView::saveSortState(int column, Qt::SortOrder order) {
|
||||||
qApp->settings()->setValue(GROUP(GUI), GUI::DefaultSortColumnMessages, column);
|
qApp->settings()->setValue(GROUP(GUI), GUI::DefaultSortColumnMessages, column);
|
||||||
qApp->settings()->setValue(GROUP(GUI), GUI::DefaultSortOrderMessages, order);
|
qApp->settings()->setValue(GROUP(GUI), GUI::DefaultSortOrderMessages, order);
|
||||||
|
qApp->settings()->sync();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -741,6 +741,10 @@ int StandardFeed::updateMessages(const QList<Message> &messages) {
|
||||||
else {
|
else {
|
||||||
updateCounts(true);
|
updateCounts(true);
|
||||||
serviceRoot()->itemChanged(QList<RootItem*>() << this);
|
serviceRoot()->itemChanged(QList<RootItem*>() << this);
|
||||||
|
|
||||||
|
if (updated_messages > 0) {
|
||||||
|
serviceRoot()->requestFeedReadFilterReload();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return updated_messages;
|
return updated_messages;
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,8 @@ StandardServiceRoot::~StandardServiceRoot() {
|
||||||
void StandardServiceRoot::start() {
|
void StandardServiceRoot::start() {
|
||||||
loadFromDatabase();
|
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"),
|
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("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?"),
|
tr("Do you want to load initial set of feeds?"),
|
||||||
|
|
|
||||||
|
|
@ -380,6 +380,10 @@ int TtRssFeed::updateMessages(const QList<Message> &messages) {
|
||||||
|
|
||||||
updateCounts(true);
|
updateCounts(true);
|
||||||
serviceRoot()->itemChanged(QList<RootItem*>() << this);
|
serviceRoot()->itemChanged(QList<RootItem*>() << this);
|
||||||
|
|
||||||
|
if (updated_messages > 0) {
|
||||||
|
serviceRoot()->requestFeedReadFilterReload();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return updated_messages;
|
return updated_messages;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue