From 6dfb9b4eade77ac55d11f05669c2192352b9b8fa Mon Sep 17 00:00:00 2001 From: "Liam P. White" Date: Thu, 26 Jun 2014 13:49:17 -0400 Subject: 4. further refactor Application class; create proper singleton, encapsulate members, simplify signals (bzr r13341.5.6) --- src/inkview.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/inkview.cpp') diff --git a/src/inkview.cpp b/src/inkview.cpp index f1be398f7..1ec8393ba 100644 --- a/src/inkview.cpp +++ b/src/inkview.cpp @@ -232,7 +232,8 @@ main (int argc, const char **argv) ss.view = NULL; ss.fullscreen = false; - inkscape = new Inkscape::Application(argv[0], true); + Inkscape::Application::init(argv[0], true); + inkscape = Inkscape::Application::instance(); // starting at where the commandline options stopped parsing because // we want all the files to be in the list -- cgit v1.2.3