ipc: Place socket in /tmp/.looqs/, remove ipc path settings

This commit is contained in:
2022-05-29 09:50:47 +02:00
rodzic e44fb1a942
commit ad0fc74439
2 zmienionych plików z 26 dodań i 6 usunięć

Wyświetl plik

@@ -156,6 +156,9 @@ QString Common::databasePath()
QString Common::ipcSocketPath()
{
QSettings settings;
return settings.value(SETTINGS_KEY_IPCSOCKETPATH, "/tmp/looqs-spawner").toString();
return "/tmp/.looqs/looqs-ipc-socket";
/* May not a good idea to set it in the settings and probably nobody would ever bother to change it anyway */
// QSettings settings;
// return settings.value(SETTINGS_KEY_IPCSOCKETPATH, "/tmp/.looqs/looqs-ipc-socket").toString();
}