mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-22 05:37:03 +01:00
Some minor changes for feed/message viewer.
This commit is contained in:
parent
a3773914b7
commit
0220e0b90e
@ -277,7 +277,14 @@ void FeedMessageViewer::switchFeedComponentVisibility() {
|
||||
}
|
||||
|
||||
void FeedMessageViewer::toggleShowOnlyUnreadFeeds() {
|
||||
m_feedsView->invalidateReadFeedsFilter(true, qobject_cast<QAction*>(sender())->isChecked());
|
||||
QAction *origin = qobject_cast<QAction*>(sender());
|
||||
|
||||
if (origin == NULL) {
|
||||
m_feedsView->invalidateReadFeedsFilter(true, false);
|
||||
}
|
||||
else {
|
||||
m_feedsView->invalidateReadFeedsFilter(true, origin->isChecked());
|
||||
}
|
||||
}
|
||||
|
||||
void FeedMessageViewer::updateMessageButtonsAvailability() {
|
||||
|
Loading…
Reference in New Issue
Block a user