[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 92623] exiting KDE while akregator is loading the feed list
From: Frank Osterfeld <f_osterf () informatik ! uni-kl ! de>
Date: 2004-11-03 9:24:17
Message-ID: 20041103092417.16607.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=92623
f_osterf informatik uni-kl de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From f_osterf informatik uni-kl de 2004-11-03 10:24 -------
CVS commit by osterfeld:
Don't save feed list while loading
BUG: 92623
M +3 -0 akregator_part.cpp 1.99
M +1 -1 akregator_part.h 1.43
M +1 -1 akregator_view.cpp 1.152
--- kdenonbeta/akregator/src/akregator_part.cpp #1.98:1.99
@ -430,4 +430,7 @ bool aKregatorPart::closeURL()
bool aKregatorPart::saveFeedList()
{
+ // don't save when the part is opening the feed list! (would corrupt the list)
+ if (m_loading)
+ return false;
// m_file is always local, so we use QFile
QFile file(m_file);
--- kdenonbeta/akregator/src/akregator_part.h #1.42:1.43
@ -111,5 +111,5 @ namespace Akregator
virtual void openStandardFeedList();
- bool loading (){return m_loading;}
+ bool isLoading (){return m_loading;}
virtual void fetchFeedUrl(const QString&);
--- kdenonbeta/akregator/src/akregator_view.cpp #1.151:1.152
@ -1135,5 +1135,5 @ void aKregatorView::slotDoIntervalFetche
{
kdDebug() << "enter slotDoIntervalFetches" << endl;
- if (m_transaction->isRunning() || m_part->loading())
+ if (m_transaction->isRunning() || m_part->isLoading())
return;
kdDebug() << "doIntervalFetches" << endl;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic