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

Este commit está contenido en:
2022-05-29 09:50:47 +02:00
padre d39157b58d
commit 8d96f6e4ce
Se han modificado 2 ficheros con 26 adiciones y 6 borrados

Ver fichero

@@ -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();
}