Skip to content

Commit

Permalink
[Settings] Remove dbus iface
Browse files Browse the repository at this point in the history
  • Loading branch information
neochapay committed Feb 5, 2024
1 parent 7e60895 commit 82d47a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 42 deletions.
26 changes: 0 additions & 26 deletions src/qml/components/SettingsService.qml

This file was deleted.

19 changes: 3 additions & 16 deletions src/qml/glacier-settings.qml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017-2022 Chupligin Sergey <neochapay@gmail.com>
* Copyright (C) 2017-2024 Chupligin Sergey <neochapay@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
Expand All @@ -17,8 +17,8 @@
* Boston, MA 02110-1301, USA.
*/

import QtQuick 2.6
import QtQuick.Window 2.1
import QtQuick
import QtQuick.Window

import Nemo.Controls

Expand All @@ -34,19 +34,6 @@ ApplicationWindow{
id: settingsModel
}

SettingsService{
id: setingService

onOpenSettingsPage: {
if(settingsModel.pluginAviable(plugin)) {
pageStack.push(Qt.resolvedUrl("file:/"+settingsModel.pluginQmlPath(plugin)))
main.show()
} else {
console.error("Wrong plugin "+plugin)
}
}
}

initialPage: Page{
id: mainPage

Expand Down

0 comments on commit 82d47a4

Please sign in to comment.