https://bugs.kde.org/show_bug.cgi?id=435552

--- Comment #2 from Thomas Baumgart <tbaumg...@kde.org> ---
The following change in "bool CSVImporter::isMyFormat(const QString& filename)
const" breaks it:

-    return filename.endsWith(QLatin1String(".csv"), Qt::CaseInsensitive)
-           && f.open(QIODevice::ReadOnly | QIODevice::Text);
+    return f.open(QIODevice::ReadOnly | QIODevice::Text);

Any file that can be opened as read-only returns true here. And it turns out to
be even worse: passing xxx.ofx as argument to import using the OFX importer
causes the CSV importer to start.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to