Summary: | kpdf/kdirwatch fails on path with '#' in it | ||
---|---|---|---|
Product: | [Unmaintained] kpdf | Reporter: | Matthias Raffelsieper <hoschiraffel> |
Component: | general | Assignee: | Albert Astals Cid <aacid> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Matthias Raffelsieper
2007-08-22 10:59:43 UTC
SVN commit 703564 by aacid: Use fromPathOrURL so people with strange dirs with # in them still get watching working BUGS: 149102 M +1 -1 part.cpp --- branches/KDE/3.5/kdegraphics/kpdf/part.cpp #703563:703564 @@ -612,7 +612,7 @@ m_pageView->showText(i18n("Reloading the document..."), 0); } - if (KParts::ReadOnlyPart::openURL(m_file)) + if (KParts::ReadOnlyPart::openURL(KURL::fromPathOrURL(m_file))) { if (m_viewportDirty.pageNumber >= (int)m_document->pages()) m_viewportDirty.pageNumber = (int)m_document->pages() - 1; m_document->setViewport(m_viewportDirty); Resolves the reported problem. Thanks for the fast response! |