Summary: | Crash in add device wizard when Back,Forward during device scan | ||
---|---|---|---|
Product: | [Unmaintained] solid | Reporter: | Will Stephenson <wstephenson> |
Component: | bluetooth-wizard | Assignee: | Alex Fiestas <afiestas> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | toddrme2178 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Will Stephenson
2011-01-14 09:50:36 UTC
I just had this crash when using the beta version of 1.0.2 beta. commit da4197fa424bd628601a029b8770637731d1ea52 branch stable Author: Alex Fiestas <alex@eyeos.org> Date: Sun Jan 16 04:33:59 2011 +0100 Clear itemList and QMap containing address<->item relation so we do not crash. BUG:263115 diff --git a/src/wizard/pages/discoverpage.cpp b/src/wizard/pages/discoverpage.cpp index 11ac217..dfdb165 100644 --- a/src/wizard/pages/discoverpage.cpp +++ b/src/wizard/pages/discoverpage.cpp @@ -84,6 +84,8 @@ void DiscoverPage::nameChanged(const QString& name) void DiscoverPage::cleanupPage() { stopScan(); + deviceList->clear(); + m_itemRelation.clear(); } bool DiscoverPage::isComplete() const |