[aKregator-devel] [Bug 109174] KOntact crashes when akregator loads
Brought to you by:
lippel
From: Frank O. <fra...@kd...> - 2005-07-29 10:34:30
|
------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=109174 frank.osterfeld kdemail net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From frank.osterfeld kdemail net 2005-07-29 12:34 ------- SVN commit 439938 by osterfeld: fix crash on startup in combined view mode BUG: 109174 M +2 -1 actionmanagerimpl.cpp M +12 -13 akregator_view.cpp --- branches/KDE/3.5/kdepim/akregator/src/actionmanagerimpl.cpp #439937:439938 @ -216,7 +216,8 @ void ActionManagerImpl::slotNodeSelected(TreeNode* node) { - d->nodeSelectVisitor->visit(node); + if (node != 0) + d->nodeSelectVisitor->visit(node); } ActionManagerImpl::ActionManagerImpl(Part* part, QObject* parent, const char* name) : ActionManager(parent, name), d(new ActionManagerImplPrivate) --- branches/KDE/3.5/kdepim/akregator/src/akregator_view.cpp #439937:439938 @ -312,18 +312,6 @ m_feedSplitter->setSizes( Settings::splitter1Sizes() ); m_articleSplitter->setSizes( Settings::splitter2Sizes() ); - switch (Settings::viewMode()) - { - case CombinedView: - slotCombinedView(); - break; - case WidescreenView: - slotWidescreenView(); - break; - default: - slotNormalView(); - } - KConfig *conf = Settings::self()->config(); conf->setGroup("General"); if(!conf->readBoolEntry("Disable Introduction", false)) @ -348,8 +336,19 @ m_markReadTimer = new QTimer(this); connect(m_markReadTimer, SIGNAL(timeout()), this, SLOT(slotSetCurrentArticleReadDelayed()) ); - QTimer::singleShot(1000, this, SLOT(slotDeleteExpiredArticles()) ); + switch (Settings::viewMode()) + { + case CombinedView: + slotCombinedView(); + break; + case WidescreenView: + slotWidescreenView(); + break; + default: + slotNormalView(); + } + QTimer::singleShot(1000, this, SLOT(slotDeleteExpiredArticles()) ); QTimer::singleShot(0, this, SLOT(delayedInit())); } |