SingleApplication/examples/basic/main.cpp
2020-09-09 00:48:55 +01:00

12 lines
212 B
C++
Executable File

#include <singleapplication.h>
int main(int argc, char *argv[])
{
// Allow secondary instances
SingleApplication app( argc, argv );
qWarning() << "Started a new instance";
return app.exec();
}