summaryrefslogtreecommitdiffstats
path: root/testfiles/doc-per-case-test.cpp
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-06-07 22:27:29 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-06-07 22:28:13 +0000
commit96c7da471a5a3c771714f78db87c357873d64816 (patch)
tree01210fd886781d10d7598f82674c4c5da65d8576 /testfiles/doc-per-case-test.cpp
parentTextToolbar: Fix superscript/subscript handling (diff)
downloadinkscape-96c7da471a5a3c771714f78db87c357873d64816.tar.gz
inkscape-96c7da471a5a3c771714f78db87c357873d64816.zip
Remove _argv0 from Inkscape::Application
Currently it was only used as the least preferred (and therefore effectively unused) location where to store the crash backup. However it wasn't set properly since 408cb49b5559a81ea803df64bf58457a5dd4bf16 causing assertion errors while crashing. On top of that argv0 is not a reliable way to determine the path to the currently running executable anyway. Fixes https://gitlab.com/inkscape/inkscape/issues/176
Diffstat (limited to 'testfiles/doc-per-case-test.cpp')
-rw-r--r--testfiles/doc-per-case-test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testfiles/doc-per-case-test.cpp b/testfiles/doc-per-case-test.cpp
index d3536ef93..0f3721ca9 100644
--- a/testfiles/doc-per-case-test.cpp
+++ b/testfiles/doc-per-case-test.cpp
@@ -26,7 +26,7 @@ void DocPerCaseTest::SetUpTestCase()
if ( !Inkscape::Application::exists() )
{
// Create the global inkscape object.
- Inkscape::Application::create("", false);
+ Inkscape::Application::create(false);
}
_doc = SPDocument::createNewDoc( NULL, TRUE, true );