[qet] qet/qet: [5709] 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).

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 5709
Author:   blacksun
Date:     2019-01-20 14:01:44 +0100 (Sun, 20 Jan 2019)
Log Message:
-----------
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). 

Modified Paths:
--------------
    trunk/sources/main.cpp

Modified: trunk/sources/main.cpp
===================================================================
--- trunk/sources/main.cpp	2019-01-19 15:25:48 UTC (rev 5708)
+++ trunk/sources/main.cpp	2019-01-20 13:01:44 UTC (rev 5709)
@@ -40,7 +40,7 @@
     qputenv("QT_DEVICE_PIXEL_RATIO", QByteArray("auto"));
 #endif
 	
-	SingleApplication app(argc, argv);
+	SingleApplication app(argc, argv, true);
 	
 	if (app.isSecondary())
 	{


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/