| Summary: | amarok crashed while changing song | ||
|---|---|---|---|
| Product: | [Applications] amarok | Reporter: | Bruno Bigras <bigras.bruno> |
| Component: | general | Assignee: | Amarok Bugs <amarok-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | ||
| Priority: | NOR | ||
| Version First Reported In: | 2.4-GIT | ||
| Target Milestone: | 2.4.0 | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 2.4 | |
| Sentry Crash Report: | |||
|
Description
Bruno Bigras
2010-10-18 04:55:10 UTC
By the way, I'm using c94ee851007112a617d7ada080b3e76ec9e389d1 (from this morning.) commit 03ec274095fd8fd16ab9dd6a54d942b59a550c08 branch master Author: Mark Kretschmann <kretschmann@kde.org> Date: Mon Oct 18 09:53:14 2010 +0200 Fix Assert triggered by missing MemoryFilter. BUG: 254517 CCMAIL: amarok-devel@kde.org diff --git a/src/core-impl/collections/support/MemoryFilter.cpp b/src/core-impl/collections/support/MemoryFilter.cpp index 58d5c21..ecb92ff 100644 --- a/src/core-impl/collections/support/MemoryFilter.cpp +++ b/src/core-impl/collections/support/MemoryFilter.cpp @@ -67,6 +67,13 @@ namespace FilterFactory result = new LabelFilter( filter, matchBegin, matchEnd ); break; } + case Meta::valLastPlayed: + { + LastPlayedFilter *lpf = new LastPlayedFilter(); + lpf->setFilter( (qint64)filter.toInt(), Collections::QueryMaker::Equals ); + result = lpf; + break; + } case Meta::valUrl: { UrlMemoryFilter *umf = new UrlMemoryFilter(); |