mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 02:42:52 +00:00
and prevent seg. fault on article selection
This commit is contained in:
parent
a049f531d4
commit
67f6a1bad2
2 changed files with 0 additions and 2 deletions
|
@ -690,7 +690,6 @@ void Akregator::MainWidget::slotArticleSelected(const Akregator::Article& articl
|
||||||
assert( maai );
|
assert( maai );
|
||||||
maai->setChecked( article.keep() );
|
maai->setChecked( article.keep() );
|
||||||
|
|
||||||
m_articleViewer->showArticle( article );
|
|
||||||
if (m_selectionController->selectedArticles().count() == 0) {
|
if (m_selectionController->selectedArticles().count() == 0) {
|
||||||
m_articleListView->setCurrentIndex(m_selectionController->currentArticleIndex());
|
m_articleListView->setCurrentIndex(m_selectionController->currentArticleIndex());
|
||||||
}
|
}
|
||||||
|
|
|
@ -245,7 +245,6 @@ class AKREGATORPART_EXPORT MainWidget : public QWidget
|
||||||
SubscriptionListView* m_feedListView;
|
SubscriptionListView* m_feedListView;
|
||||||
ArticleListView* m_articleListView;
|
ArticleListView* m_articleListView;
|
||||||
|
|
||||||
ArticleViewer *m_articleViewer;
|
|
||||||
TabWidget* m_tabWidget;
|
TabWidget* m_tabWidget;
|
||||||
|
|
||||||
QWidget *m_mainTab;
|
QWidget *m_mainTab;
|
||||||
|
|
Loading…
Add table
Reference in a new issue