mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Remove old settings json
This commit is contained in:
parent
edac66ed4b
commit
cfbf825d50
@ -94,7 +94,6 @@
|
||||
<file>qml/Settings/SettingsHorizontalSeperator.qml</file>
|
||||
<file>qml/Workshop/Workshop.qml</file>
|
||||
<file>qtquickcontrols2.conf</file>
|
||||
<file>settings.json</file>
|
||||
<file>translations/ScreenPlay_de.qm</file>
|
||||
<file>translations/ScreenPlay_en.qm</file>
|
||||
<file>assets/icons/icon_screen.svg</file>
|
||||
|
@ -108,7 +108,7 @@ App::App()
|
||||
QObject::connect(m_settings.get(), &Settings::resetInstalledListmodel, m_installedListModel.get(), &InstalledListModel::reset);
|
||||
QObject::connect(m_globalVariables.get(), &GlobalVariables::localStoragePathChanged, this, [this](QUrl localStoragePath) {
|
||||
m_settings->resetInstalledListmodel();
|
||||
m_settings->writeSingleSettingConfig("absoluteStoragePath", localStoragePath.toString());
|
||||
m_settings->setqSetting("ScreenPlayContentPath", localStoragePath.toString());
|
||||
});
|
||||
QObject::connect(m_monitorListModel.get(), &MonitorListModel::monitorConfigurationChanged, m_sdkConnector.get(), &SDKConnector::closeAllWallpapers);
|
||||
|
||||
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"version":"1.0.0",
|
||||
"autostart":true,
|
||||
"highPriorityStart":false,
|
||||
"anonymousTelemetry":true,
|
||||
"absoluteStoragePath":""
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
#include <QObject>
|
||||
#include <QStandardPaths>
|
||||
#include <QUrl>
|
||||
#include <QVersionNumber>
|
||||
|
||||
@ -25,6 +26,7 @@ public:
|
||||
explicit GlobalVariables(QObject* parent = nullptr)
|
||||
: QObject(parent)
|
||||
{
|
||||
setLocalSettingsPath(QUrl { QStandardPaths::writableLocation(QStandardPaths::DataLocation) });
|
||||
}
|
||||
|
||||
QUrl localStoragePath() const
|
||||
|
Loading…
Reference in New Issue
Block a user