| Summary: | User closing a khtmlpart tab before the page is loaded crashes akregator | ||
|---|---|---|---|
| Product: | [Applications] akregator | Reporter: | Joonas Koivunen <joonas.koivunen> |
| Component: | akregator konqueror plugin | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | amitshah, cerebro84, lderkacz, symbiont |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Joonas Koivunen
2005-03-13 08:57:20 UTC
*** Bug 101789 has been marked as a duplicate of this bug. *** CVS commit by rytilahti:
Okay, finally. Make BrowserRun to delete itself when Viewer got destroyed...
BUGS:101413
M +7 -0 akregator_run.cpp 1.8
M +3 -0 akregator_run.h 1.5
--- kdepim/akregator/src/akregator_run.cpp #1.7:1.8
@@ -35,4 +35,5 @@ BrowserRun::BrowserRun(Viewer *viewer, Q
{
m_viewer=viewer;
+ connect(m_viewer, SIGNAL(destroyed()), this, SLOT(killMyself()));
}
@@ -50,4 +51,10 @@ void BrowserRun::foundMimeType( const QS
}
+void BrowserRun::killMyself()
+{
+ kdDebug() << "BrowserRun::killMyself()" << endl;
+ delete this;
+}
+
#include "akregator_run.moc"
--- kdepim/akregator/src/akregator_run.h #1.4:1.5
@@ -43,4 +43,7 @@ namespace Akregator
virtual void foundMimeType( const QString & _type );
+ private slots:
+ void killMyself();
+
private:
Viewer *m_viewer;
CVS commit by rytilahti: backport for bug 101413 CCBUGS:101413 M +7 -0 akregator_run.cpp 1.5.6.3 M +3 -0 akregator_run.h 1.3.6.2 --- kdepim/akregator/src/akregator_run.cpp #1.5.6.2:1.5.6.3 @@ -35,4 +35,5 @@ BrowserRun::BrowserRun(Viewer *viewer, Q { m_viewer=viewer; + connect(m_viewer, SIGNAL(destroyed()), this, SLOT(killMyself())); } @@ -50,4 +51,10 @@ void BrowserRun::foundMimeType( const QS } +void BrowserRun::killMyself() +{ + kdDebug() << "BrowserRun::killMyself()" << endl; + delete this; +} + #include "akregator_run.moc" --- kdepim/akregator/src/akregator_run.h #1.3.6.1:1.3.6.2 @@ -43,4 +43,7 @@ namespace Akregator virtual void foundMimeType( const QString & _type ); + private slots: + void killMyself(); + private: Viewer *m_viewer; *** Bug 100405 has been marked as a duplicate of this bug. *** *** Bug 102346 has been marked as a duplicate of this bug. *** Oh, and 1.0.2 fixes this bug, don't know how it should made available to KDE 3.4 users, but it'll be in 3.4.1 at least... > Oh, and 1.0.2 fixes this bug
No, 1.0.2 is 1.0 + forms + notification in kontact + delete articles older than/disable archiving fixes, nothing else
*** Bug 102360 has been marked as a duplicate of this bug. *** |