diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-03-14 16:24:24 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-03-14 16:24:24 -0700 |
commit | 9b2c1df8e62f88118ca236ed19fbed5552d1e48b (patch) | |
tree | c9bf929fbde22ade6fa2cf5c2bef346333a30a28 /qthelper.cpp | |
parent | e9e9996766a47044249cbcb7ff7185fb04ac9882 (diff) | |
download | subsurface-9b2c1df8e62f88118ca236ed19fbed5552d1e48b.tar.gz |
Temporary fix to allow importing of CSV files
In commit 0ed4356fc28b ("Display slowness warning before opening a V2
file") I changed the xml parser to abort if it detects an V2 XML file so
that the main application can show a warning message (and eventually, a
few choices for the user) before parsing and processing older XML files.
The input that gets pre-processed by XSLT files claims to be V2 XML and so
the parser aborts - yet the code to show a warning and restarting the
parse isn't present in this code path, so XSLT based imports always fail.
This hack works around this by temprarily setting the variable that claims
that the warning has been shown to the user.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qthelper.cpp')
0 files changed, 0 insertions, 0 deletions