Summary: | Juk crashed when I was retagging a bunch of songs and started to play with search | ||
---|---|---|---|
Product: | [Applications] juk | Reporter: | Teemu Rytilahti <tpr> |
Component: | general | Assignee: | Scott Wheeler <wheeler> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Teemu Rytilahti
2004-02-02 11:12:57 UTC
CVS commit by wheeler: Check for null here. CCMAIL:73998-done@bugs.kde.org M +3 -2 tageditor.cpp 1.46 --- kdemultimedia/juk/tageditor.cpp #1.45:1.46 @@ -440,5 +440,6 @@ void TagEditor::save(const PlaylistItemL // files we couldn't write to. - if(item->file().tag() && + if(item && + item->file().tag() && (newFile.isWritable() || (!newFile.exists() && directory.isWritable())) && item->file().fileInfo().isWritable()) @@ -491,5 +492,5 @@ void TagEditor::save(const PlaylistItemL item->slotRefresh(); } - else + else if(item) errorFiles.append(item->file().absFilePath()); |