some fixes to remove warnings

This commit is contained in:
Hannes
2026-08-22 16:54:49 +02:00
parent a046c5b3e0
commit 896264c062
3 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -24,6 +24,7 @@ QtObject {
readonly property int border_width: 2 readonly property int border_width: 2
readonly property string font: "CodeNewRoman Nerd Font" readonly property string font: "CodeNewRoman Nerd Font"
readonly property string jfont: "CodeNewRoman Nerd Font"
function big_font_size(value) { function big_font_size(value) {
return value * 0.6 return value * 0.6
@@ -56,8 +57,6 @@ QtObject {
readonly property int reload_interval: 10000 readonly property int reload_interval: 10000
readonly property int fast_reload_interval: 1000 readonly property int fast_reload_interval: 1000
function maxTextWidth(maxNum, texts) { function maxTextWidth(maxNum, texts) {
let maxWidth = 0; let maxWidth = 0;
+1 -1
View File
@@ -94,7 +94,7 @@ PanelWindow {
function switchModeChooser() { function switchModeChooser() {
all_invisible() all_invisible()
languageChooser.visible = true languageChooser.visible = true
languageChooser.start() // languageChooser.start()
} }
function switch_KanaVoicing() { function switch_KanaVoicing() {
+1 -1
View File
@@ -64,7 +64,7 @@ PanelWindow {
border.width: 1 border.width: 1
} }
Keys.onReleased: { Keys.onReleased: (event) => {
if (event.key === Qt.Key_Escape) { if (event.key === Qt.Key_Escape) {
console.log("Escape pressed inside TextField") console.log("Escape pressed inside TextField")
console.log("Pressed Escape, closing Wallpaper Picker") console.log("Pressed Escape, closing Wallpaper Picker")