Add separate "About KDE" page to settings
This commit is contained in:
8
src/qml/Settings/AboutKDE.qml
Normal file
8
src/qml/Settings/AboutKDE.qml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
||||||
|
// SPDX-License-Identifier: LGPL-2.0-or-later
|
||||||
|
|
||||||
|
import org.kde.kirigamiaddons.labs.mobileform 0.1 as MobileForm
|
||||||
|
|
||||||
|
MobileForm.AboutKDE {
|
||||||
|
title: i18nc("@title:window", "About KDE")
|
||||||
|
}
|
||||||
@@ -53,6 +53,11 @@ Kirigami.CategorizedSettings {
|
|||||||
text: i18n("About NeoChat")
|
text: i18n("About NeoChat")
|
||||||
icon.name: "help-about"
|
icon.name: "help-about"
|
||||||
page: Qt.resolvedUrl("About.qml")
|
page: Qt.resolvedUrl("About.qml")
|
||||||
|
},
|
||||||
|
Kirigami.SettingAction {
|
||||||
|
text: i18n("About KDE")
|
||||||
|
icon.name: "kde"
|
||||||
|
page: Qt.resolvedUrl("AboutKDE.qml")
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -92,6 +92,7 @@
|
|||||||
<file alias="AccountEditorPage.qml">qml/Settings/AccountEditorPage.qml</file>
|
<file alias="AccountEditorPage.qml">qml/Settings/AccountEditorPage.qml</file>
|
||||||
<file alias="DevicesPage.qml">qml/Settings/DevicesPage.qml</file>
|
<file alias="DevicesPage.qml">qml/Settings/DevicesPage.qml</file>
|
||||||
<file alias="About.qml">qml/Settings/About.qml</file>
|
<file alias="About.qml">qml/Settings/About.qml</file>
|
||||||
|
<file alias="AboutKDE.qml">qml/Settings/AboutKDE.qml</file>
|
||||||
<file alias="SonnetConfigPage.qml">qml/Settings/SonnetConfigPage.qml</file>
|
<file alias="SonnetConfigPage.qml">qml/Settings/SonnetConfigPage.qml</file>
|
||||||
<file alias="NetworkProxyPage.qml">qml/Settings/NetworkProxyPage.qml</file>
|
<file alias="NetworkProxyPage.qml">qml/Settings/NetworkProxyPage.qml</file>
|
||||||
<file alias="DevtoolsPage.qml">qml/Page/DevtoolsPage.qml</file>
|
<file alias="DevtoolsPage.qml">qml/Page/DevtoolsPage.qml</file>
|
||||||
|
|||||||
Reference in New Issue
Block a user