mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Replaced all NWidgets callback by proper signals
This commit is contained in:
+2
-2
@@ -23,10 +23,10 @@ Singleton {
|
||||
watchChanges: true
|
||||
onFileChanged: reload()
|
||||
onAdapterUpdated: writeAdapter()
|
||||
Component.onCompleted: function () {
|
||||
Component.onCompleted: {
|
||||
reload()
|
||||
}
|
||||
onLoaded: function () {
|
||||
onLoaded: {
|
||||
loadFromCache()
|
||||
}
|
||||
onLoadFailed: function (error) {
|
||||
|
||||
@@ -16,7 +16,7 @@ Singleton {
|
||||
FileView {
|
||||
path: locationFile
|
||||
onAdapterUpdated: writeAdapter()
|
||||
onLoaded: function () {
|
||||
onLoaded: {
|
||||
updateWeather()
|
||||
}
|
||||
onLoadFailed: function (error) {
|
||||
|
||||
@@ -47,10 +47,10 @@ Singleton {
|
||||
watchChanges: true
|
||||
onFileChanged: reload()
|
||||
onAdapterUpdated: writeAdapter()
|
||||
Component.onCompleted: function () {
|
||||
Component.onCompleted: {
|
||||
reload()
|
||||
}
|
||||
onLoaded: function () {
|
||||
onLoaded: {
|
||||
Qt.callLater(function () {
|
||||
if (adapter.wallpaper.current !== "") {
|
||||
console.log("Settings: Initializing wallpaper to:", adapter.wallpaper.current)
|
||||
|
||||
Reference in New Issue
Block a user