mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-03-18 22:19:45 +00:00
updated qtsingleapplication to v3.1.5
This commit is contained in:
committed by
borgmanJeremy
parent
a0156be7b6
commit
8211b6aff0
11
external/singleapplication/examples/basic/main.cpp
vendored
Normal file
11
external/singleapplication/examples/basic/main.cpp
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <singleapplication.h>
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
// Allow secondary instances
|
||||
SingleApplication app(argc, argv);
|
||||
|
||||
qWarning() << "Started a new instance";
|
||||
|
||||
return app.exec();
|
||||
}
|
||||
Reference in New Issue
Block a user