mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-04 01:42:44 +00:00
Add (optional) firejail support
This commit is contained in:
parent
8552e08a12
commit
e4e35c03d4
6 changed files with 50 additions and 8 deletions
|
@ -27,6 +27,9 @@ set(jellyfin-qt_HEADERS
|
|||
include/JellyfinQt/serverdiscoverymodel.h)
|
||||
|
||||
add_definitions(-DSAILFIN_VERSION=\"${SAILFIN_VERSION}\")
|
||||
if (PLATFORM_SAILFISHOS)
|
||||
add_definitions(-DPLATFORM_SAILFISHOS=1)
|
||||
endif()
|
||||
add_library(jellyfin-qt ${jellyfin-qt_SOURCES} ${jellyfin-qt_HEADERS})
|
||||
target_include_directories(jellyfin-qt
|
||||
PUBLIC "include"
|
||||
|
|
|
@ -27,7 +27,13 @@ CredentialsManager * CredentialsManager::newInstance(QObject *parent) {
|
|||
// FallbackCredentialsManager //
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
FallbackCredentialsManager::FallbackCredentialsManager(QObject *parent)
|
||||
: CredentialsManager (parent) {
|
||||
: CredentialsManager (parent)
|
||||
#if PLATFORM_SAILFISHOS
|
||||
// I'd rather not hardcoded this here, but I don´t know a better, quick solution.
|
||||
// since this file must be placed in this path due to sandboxing.
|
||||
, m_settings("nl.netsoj.chris/Sailfin/sailfin")
|
||||
#endif
|
||||
{
|
||||
m_settings.beginGroup("Credentials");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue