chore: remove old Config.save()
This commit is contained in:
parent
41ba4f6271
commit
3d012e86b3
11 changed files with 0 additions and 37 deletions
|
|
@ -91,8 +91,6 @@ Item {
|
|||
|
||||
Config.border.rounding = root.borderRounding;
|
||||
Config.border.thickness = root.borderThickness;
|
||||
|
||||
Config.save();
|
||||
}
|
||||
|
||||
anchors.fill: parent
|
||||
|
|
|
|||
|
|
@ -57,7 +57,6 @@ Item {
|
|||
Config.dashboard.performance.showStorage = root.showStorage;
|
||||
Config.dashboard.performance.showNetwork = root.showNetwork;
|
||||
// Note: sizes properties are readonly and cannot be modified
|
||||
Config.save();
|
||||
}
|
||||
|
||||
anchors.fill: parent
|
||||
|
|
|
|||
|
|
@ -62,7 +62,6 @@ Item {
|
|||
}
|
||||
|
||||
Config.launcher.hiddenApps = hiddenApps;
|
||||
Config.save();
|
||||
}
|
||||
|
||||
function filterApps(search: string): list<var> {
|
||||
|
|
@ -626,7 +625,6 @@ Item {
|
|||
}
|
||||
}
|
||||
Config.launcher.favouriteApps = favouriteApps;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -659,7 +657,6 @@ Item {
|
|||
}
|
||||
}
|
||||
Config.launcher.hiddenApps = hiddenApps;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ ColumnLayout {
|
|||
checked: Config.launcher.enabled
|
||||
toggle.onToggled: {
|
||||
Config.launcher.enabled = checked;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -43,7 +42,6 @@ ColumnLayout {
|
|||
checked: Config.launcher.showOnHover
|
||||
toggle.onToggled: {
|
||||
Config.launcher.showOnHover = checked;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -52,7 +50,6 @@ ColumnLayout {
|
|||
checked: Config.launcher.vimKeybinds
|
||||
toggle.onToggled: {
|
||||
Config.launcher.vimKeybinds = checked;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -61,7 +58,6 @@ ColumnLayout {
|
|||
checked: Config.launcher.enableDangerousActions
|
||||
toggle.onToggled: {
|
||||
Config.launcher.enableDangerousActions = checked;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -126,7 +122,6 @@ ColumnLayout {
|
|||
checked: Config.launcher.useFuzzy.apps
|
||||
toggle.onToggled: {
|
||||
Config.launcher.useFuzzy.apps = checked;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -135,7 +130,6 @@ ColumnLayout {
|
|||
checked: Config.launcher.useFuzzy.actions
|
||||
toggle.onToggled: {
|
||||
Config.launcher.useFuzzy.actions = checked;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -144,7 +138,6 @@ ColumnLayout {
|
|||
checked: Config.launcher.useFuzzy.schemes
|
||||
toggle.onToggled: {
|
||||
Config.launcher.useFuzzy.schemes = checked;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -153,7 +146,6 @@ ColumnLayout {
|
|||
checked: Config.launcher.useFuzzy.variants
|
||||
toggle.onToggled: {
|
||||
Config.launcher.useFuzzy.variants = checked;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -162,7 +154,6 @@ ColumnLayout {
|
|||
checked: Config.launcher.useFuzzy.wallpapers
|
||||
toggle.onToggled: {
|
||||
Config.launcher.useFuzzy.wallpapers = checked;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -76,7 +76,6 @@ ColumnLayout {
|
|||
checked: Config.utilities.vpn.enabled
|
||||
toggle.onToggled: {
|
||||
Config.utilities.vpn.enabled = checked;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -86,7 +86,6 @@ DeviceDetails {
|
|||
}
|
||||
|
||||
Config.utilities.vpn.provider = providers;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -141,7 +140,6 @@ DeviceDetails {
|
|||
}
|
||||
}
|
||||
Config.utilities.vpn.provider = providers;
|
||||
Config.save();
|
||||
root.session.vpn.active = null;
|
||||
}
|
||||
}
|
||||
|
|
@ -540,7 +538,6 @@ DeviceDetails {
|
|||
}
|
||||
|
||||
Config.utilities.vpn.provider = providers;
|
||||
Config.save();
|
||||
editVpnDialog.closeWithAnimation();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@ ColumnLayout {
|
|||
}
|
||||
}
|
||||
Config.utilities.vpn.provider = providers;
|
||||
Config.save();
|
||||
|
||||
Qt.callLater(function () {
|
||||
VPN.toggle();
|
||||
|
|
@ -244,7 +243,6 @@ ColumnLayout {
|
|||
}
|
||||
}
|
||||
Config.utilities.vpn.provider = providers;
|
||||
Config.save();
|
||||
|
||||
Qt.callLater(function () {
|
||||
VPN.toggle();
|
||||
|
|
@ -294,7 +292,6 @@ ColumnLayout {
|
|||
}
|
||||
}
|
||||
Config.utilities.vpn.provider = providers;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -496,7 +493,6 @@ ColumnLayout {
|
|||
interface: "wt0"
|
||||
});
|
||||
Config.utilities.vpn.provider = providers;
|
||||
Config.save();
|
||||
vpnDialog.closeWithAnimation();
|
||||
}
|
||||
}
|
||||
|
|
@ -517,7 +513,6 @@ ColumnLayout {
|
|||
interface: "tailscale0"
|
||||
});
|
||||
Config.utilities.vpn.provider = providers;
|
||||
Config.save();
|
||||
vpnDialog.closeWithAnimation();
|
||||
}
|
||||
}
|
||||
|
|
@ -538,7 +533,6 @@ ColumnLayout {
|
|||
interface: "CloudflareWARP"
|
||||
});
|
||||
Config.utilities.vpn.provider = providers;
|
||||
Config.save();
|
||||
vpnDialog.closeWithAnimation();
|
||||
}
|
||||
}
|
||||
|
|
@ -806,7 +800,6 @@ ColumnLayout {
|
|||
}
|
||||
|
||||
Config.utilities.vpn.provider = providers;
|
||||
Config.save();
|
||||
vpnDialog.closeWithAnimation();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@ ColumnLayout {
|
|||
checked: Config.utilities.vpn.enabled
|
||||
toggle.onToggled: {
|
||||
Config.utilities.vpn.enabled = checked;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -149,7 +148,6 @@ ColumnLayout {
|
|||
}
|
||||
|
||||
Config.utilities.vpn.provider = providers;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -176,7 +174,6 @@ ColumnLayout {
|
|||
}
|
||||
}
|
||||
Config.utilities.vpn.provider = providers;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -220,7 +217,6 @@ ColumnLayout {
|
|||
interface: "wt0"
|
||||
});
|
||||
Config.utilities.vpn.provider = providers;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -238,7 +234,6 @@ ColumnLayout {
|
|||
interface: "tailscale0"
|
||||
});
|
||||
Config.utilities.vpn.provider = providers;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -256,7 +251,6 @@ ColumnLayout {
|
|||
interface: "CloudflareWARP"
|
||||
});
|
||||
Config.utilities.vpn.provider = providers;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -56,8 +56,6 @@ Item {
|
|||
Config.utilities.toasts.kbLayoutChanged = root.kbLayoutChanged;
|
||||
Config.utilities.toasts.vpnChanged = root.vpnChanged;
|
||||
Config.utilities.toasts.nowPlaying = root.nowPlaying;
|
||||
|
||||
Config.save();
|
||||
}
|
||||
|
||||
anchors.fill: parent
|
||||
|
|
|
|||
|
|
@ -100,7 +100,6 @@ Item {
|
|||
});
|
||||
}
|
||||
Config.bar.entries = entries;
|
||||
Config.save();
|
||||
}
|
||||
|
||||
anchors.fill: parent
|
||||
|
|
|
|||
|
|
@ -69,7 +69,6 @@ Singleton {
|
|||
|
||||
function toggleVisibility() {
|
||||
Config.services.showLyrics = !Config.services.showLyrics;
|
||||
Config.save();
|
||||
}
|
||||
|
||||
function loadLyrics() {
|
||||
|
|
@ -274,7 +273,6 @@ Singleton {
|
|||
onPreferredBackendChanged: {
|
||||
if (Config.services.lyricsBackend !== preferredBackend) {
|
||||
Config.services.lyricsBackend = preferredBackend;
|
||||
Config.save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue