shared: common: Introduce ipcSocketPath()
Этот коммит содержится в:
@ -15,6 +15,7 @@
|
||||
|
||||
#define SETTINGS_KEY_DBPATH "dbpath"
|
||||
#define SETTINGS_KEY_FIRSTRUN "firstrun"
|
||||
#define SETTINGS_KEY_IPCSOCKETPATH "ipcsocketpath"
|
||||
|
||||
inline void initResources()
|
||||
{
|
||||
@ -103,3 +104,9 @@ QString Common::databasePath()
|
||||
}
|
||||
return env;
|
||||
}
|
||||
|
||||
QString Common::ipcSocketPath()
|
||||
{
|
||||
QSettings settings;
|
||||
return settings.value(SETTINGS_KEY_IPCSOCKETPATH, "/tmp/looqs-spawner").toString();
|
||||
}
|
||||
|
Ссылка в новой задаче
Block a user