File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ int main(int argc, char *argv[])
1717
1818 QApplication app (argc, argv);
1919
20- // qInstallMessageHandler(message_handler); // Output debug info to qInfo.log | Disable for Debug
20+ qInstallMessageHandler (message_handler); // Output debug info to qInfo.log | Disable for Debug
2121
2222 app.setWindowIcon (QIcon (" :/img/logo-dark.svg" ));
2323
@@ -40,7 +40,7 @@ int main(int argc, char *argv[])
4040
4141 // CHECK IF THE APPLICATION IS RUNNING
4242 // IF SO, SEND THEM A REQUEST TO ACTIVATE THE WINDOW AND CLOSE THE CURRENT COPY
43- const QString APP_ID = QCryptographicHash::hash (QString (QCoreApplication::applicationFilePath () + " -" + SOFT_NAME + " -" + SOFT_VERSION).toUtf8 (), QCryptographicHash::Blake2b_512 );
43+ const QString APP_ID = QCryptographicHash::hash (QString (QCoreApplication::applicationFilePath () + " -" + SOFT_NAME + " -" + SOFT_VERSION).toUtf8 (), QCryptographicHash::Md5 );
4444
4545 QLocalSocket socket;
4646 socket.connectToServer (APP_ID);
You can’t perform that action at this time.
0 commit comments