mirror of
https://github.com/itay-grudev/SingleApplication.git
synced 2025-01-15 17:02:06 +08:00
12 lines
212 B
C++
Executable File
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();
|
|
}
|