mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-05-08 14:33:23 +00:00
General improvements and bug fixes
This commit is contained in:
@@ -26,9 +26,9 @@ int main(int argc, char *argv[])
|
||||
QApplication app(argc, argv);
|
||||
loadTranslator();
|
||||
|
||||
if (! RunGuard::instance().tryToRun()) {
|
||||
if (!RunGuard::instance().tryToRun()) {
|
||||
qDebug() << "Tried to run second instance. Exiting...";
|
||||
QMessageBox::information(NULL, QObject::tr("Notify"), QObject::tr("AmneziaVPN is already running."));
|
||||
QMessageBox::information(NULL, QObject::tr("Notification"), QObject::tr("AmneziaVPN is already running."));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user