| Summary: | setGlobalPhoto urlencodes dir with space | ||
|---|---|---|---|
| Product: | [Unmaintained] kopete | Reporter: | peppelorum <peppe> |
| Component: | general | Assignee: | Kopete Developers <kopete-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 0.12.3 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
peppelorum
2007-01-31 16:31:19 UTC
You mean that the changed photo does not show up in the identity config dialog. But the photo is changed, and the changed photo is visible to other contacts. Ah, I didn't think of that! Yes, the photo is not visible in the identity dialog. So maybe this bug should have another title then. SVN commit 647486 by wstephens: Don't feed the encoded URL to the KURLRequester; QImage can't read it BUG: 140959 M +3 -1 kopeteidentityconfig.cpp --- branches/work/kopete/avdevice_overhaul/kopete/config/identity/kopeteidentityconfig.cpp #647485:647486 @@ -323,7 +323,7 @@ } } - d->m_view->comboPhotoURL->setURL(d->currentIdentity->customPhoto().url()); + d->m_view->comboPhotoURL->setURL(d->currentIdentity->customPhoto().pathOrURL()); Kopete::MetaContact::PropertySource photoSource = d->currentIdentity->photoSource(); d->m_view->radioPhotoCustom->setChecked(photoSource == Kopete::MetaContact::SourceCustom); @@ -378,7 +378,9 @@ photo = Kopete::photoFromContact(selectedNameSourceContact()); break; case Kopete::MetaContact::SourceCustom: + QString url = d->m_view->comboPhotoURL->url(); photo = QImage(d->m_view->comboPhotoURL->url()); + bool null = photo.isNull(); break; } |