Skip to content

Commit 8db7b84

Browse files
committed
remove font check
1 parent 8c626b2 commit 8db7b84

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

Common/SettingsData.qml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ Singleton {
271271
Component.onCompleted: {
272272
if (!isGreeterMode) {
273273
loadSettings()
274-
fontCheckTimer.start()
275274
initializeListModels()
276275
fprintdDetectionProcess.running = true
277276
}
@@ -1884,27 +1883,6 @@ Singleton {
18841883
id: rightWidgetsModel
18851884
}
18861885

1887-
Timer {
1888-
id: fontCheckTimer
1889-
1890-
interval: 3000
1891-
repeat: false
1892-
onTriggered: {
1893-
var availableFonts = Qt.fontFamilies()
1894-
var missingFonts = []
1895-
if (fontFamily === defaultFontFamily && !availableFonts.includes(defaultFontFamily))
1896-
missingFonts.push(defaultFontFamily)
1897-
1898-
if (monoFontFamily === defaultMonoFontFamily && !availableFonts.includes(defaultMonoFontFamily))
1899-
missingFonts.push(defaultMonoFontFamily)
1900-
1901-
if (missingFonts.length > 0) {
1902-
var message = "Missing fonts: " + missingFonts.join(", ") + ". Using system defaults."
1903-
ToastService.showWarning(message)
1904-
}
1905-
}
1906-
}
1907-
19081886
property Process testNotificationProcess
19091887

19101888
testNotificationProcess: Process {

0 commit comments

Comments
 (0)