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
This commit is contained in:
blacksun
2019-01-20 13:01:44 +00:00
parent c6d537a5d5
commit 3d7b39be07

View File

@@ -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())
{