Commit d620bc90 authored by Sven Brauch's avatar Sven Brauch
Browse files

fix build with -DQT_NO_URL_CAST_FROM_STRING

parent 3ad4e8d4
......@@ -452,7 +452,7 @@ void PluginKateXMLToolsCompletionModel::getDTD()
// no meta dtd found for this file
url = QFileDialog::getOpenFileUrl(KTextEditor::Editor::instance()->application()->activeMainWindow()->window(),
i18n("Assign Meta DTD in XML Format"),
m_urlString,
QUrl::fromLocalFile(m_urlString),
"*.xml");
} else {
url.setUrl(defaultDir + filename);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment