mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
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:
@@ -40,7 +40,7 @@ int main(int argc, char **argv)
|
|||||||
qputenv("QT_DEVICE_PIXEL_RATIO", QByteArray("auto"));
|
qputenv("QT_DEVICE_PIXEL_RATIO", QByteArray("auto"));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
SingleApplication app(argc, argv);
|
SingleApplication app(argc, argv, true);
|
||||||
|
|
||||||
if (app.isSecondary())
|
if (app.isSecondary())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user