diff options
Diffstat (limited to 'kde-base/kpdf/files/kpdf-3.5.7-hash_path.diff')
-rw-r--r-- | kde-base/kpdf/files/kpdf-3.5.7-hash_path.diff | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kde-base/kpdf/files/kpdf-3.5.7-hash_path.diff b/kde-base/kpdf/files/kpdf-3.5.7-hash_path.diff new file mode 100644 index 000000000000..1c3ac507c049 --- /dev/null +++ b/kde-base/kpdf/files/kpdf-3.5.7-hash_path.diff @@ -0,0 +1,10 @@ +--- 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); |