diff --git a/kpdf/kpdf_part.cpp b/kpdf/kpdf_part.cpp index c8ccd11e689f2368b3053e997a325a84a97c40db..33bb2340f15580195c8382d3c769e5f19bc9185b 100644 --- a/kpdf/kpdf_part.cpp +++ b/kpdf/kpdf_part.cpp @@ -119,7 +119,7 @@ Part::openFile() if (file.open(IO_ReadOnly) == false) return false; - GString* filename = new GString(m_file); + GString* filename = new GString(m_file.ascii); m_doc = new PDFDoc(filename, 0, 0); if (!m_doc->isOk())