From 3d7b39be077cd78ebd9267e1d29b1473a6e5b7cb Mon Sep 17 00:00:00 2001 From: blacksun Date: Sun, 20 Jan 2019 13:01:44 +0000 Subject: [PATCH] Fix regression : QElectrotech is unable to open several project/elements/titleblock from the outside of the application (for exemple by double clicking on a .qet file). git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5709 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/main.cpp b/sources/main.cpp index be11d629d..6e1099fa7 100644 --- a/sources/main.cpp +++ b/sources/main.cpp @@ -40,7 +40,7 @@ int main(int argc, char **argv) qputenv("QT_DEVICE_PIXEL_RATIO", QByteArray("auto")); #endif - SingleApplication app(argc, argv); + SingleApplication app(argc, argv, true); if (app.isSecondary()) {