summaryrefslogtreecommitdiff
path: root/contents/config
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2022-04-09 15:22:17 +0800
committerFrederick Yin <fkfd@fkfd.me>2022-04-09 15:22:17 +0800
commit0a2bf162712d3c5d468b8b93815e6e2f161d555f (patch)
tree018c704e40d6bae89dc3ac95c1342dd01ca47558 /contents/config
parent136be4b97cb759d8dc5f63b519fcb09a0fd8638b (diff)
Rename General config group to Canvas, allow hiding submitted assignments
Diffstat (limited to 'contents/config')
-rw-r--r--contents/config/config.qml6
-rw-r--r--contents/config/main.xml5
2 files changed, 11 insertions, 0 deletions
diff --git a/contents/config/config.qml b/contents/config/config.qml
index 39eaa5c..be675e4 100644
--- a/contents/config/config.qml
+++ b/contents/config/config.qml
@@ -7,4 +7,10 @@ ConfigModel {
icon: "configure"
source: "configGeneral.qml"
}
+
+ ConfigCategory {
+ name: i18n("Canvas")
+ icon: "applications-internet"
+ source: "configCanvas.qml"
+ }
}
diff --git a/contents/config/main.xml b/contents/config/main.xml
index 6d743c8..923dc15 100644
--- a/contents/config/main.xml
+++ b/contents/config/main.xml
@@ -2,6 +2,11 @@
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0 http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
<kcfgfile name=""/>
<group name="General">
+ <entry name="showSubmittedAssignments" type="Bool">
+ <default>true</default>
+ </entry>
+ </group>
+ <group name="Canvas">
<entry name="canvasUrl" type="String">
<default>https://</default>
</entry>