Commit bcaf3726 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Remove superfluous code

parent 2c140ca0
......@@ -68,16 +68,8 @@ KisImportCatcher::KisImportCatcher(const KUrl & url, KisView2 * view)
m_d->doc->setProgressProxy(progressProxy);
m_d->view = view;
m_d->url = url;
KoFilterManager manager(m_d->doc);
m_d->doc->openUrl(url);
// if (KMimeType::findByUrl(url)->name() == "application/x-krita") {
// m_d->doc->loadNativeFormat(url.toLocalFile());
// }
// else {
// KoFilter::ConversionStatus status;
// manager.importDocument(url.pathOrUrl(), QString(), status);
// }
KisImageWSP importedImage = m_d->doc->image();
if (importedImage) {
......
Markdown is supported
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