This commit is contained in:
Martin Rotter 2015-12-18 18:40:10 +01:00
parent 261e76c539
commit f968bb7018

@ -69,7 +69,7 @@ int main(int argc, char *argv[]) {
// TODO: dat '\n' do konstant // TODO: dat '\n' do konstant
// Check if another instance is running. // Check if another instance is running.
if (application.sendMessage((QStringList() << APP_IS_RUNNING << application.arguments().mid(1)).join('\n'))) { if (application.sendMessage((QStringList() << APP_IS_RUNNING << application.arguments().mid(1)).join("\n"))) {
qWarning("Another instance of the application is already running. Notifying it."); qWarning("Another instance of the application is already running. Notifying it.");
return EXIT_FAILURE; return EXIT_FAILURE;
} }