mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-28 15:32:50 -05:00
remove font check
This commit is contained in:
@@ -271,7 +271,6 @@ Singleton {
|
|||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
if (!isGreeterMode) {
|
if (!isGreeterMode) {
|
||||||
loadSettings()
|
loadSettings()
|
||||||
fontCheckTimer.start()
|
|
||||||
initializeListModels()
|
initializeListModels()
|
||||||
fprintdDetectionProcess.running = true
|
fprintdDetectionProcess.running = true
|
||||||
}
|
}
|
||||||
@@ -1884,27 +1883,6 @@ Singleton {
|
|||||||
id: rightWidgetsModel
|
id: rightWidgetsModel
|
||||||
}
|
}
|
||||||
|
|
||||||
Timer {
|
|
||||||
id: fontCheckTimer
|
|
||||||
|
|
||||||
interval: 3000
|
|
||||||
repeat: false
|
|
||||||
onTriggered: {
|
|
||||||
var availableFonts = Qt.fontFamilies()
|
|
||||||
var missingFonts = []
|
|
||||||
if (fontFamily === defaultFontFamily && !availableFonts.includes(defaultFontFamily))
|
|
||||||
missingFonts.push(defaultFontFamily)
|
|
||||||
|
|
||||||
if (monoFontFamily === defaultMonoFontFamily && !availableFonts.includes(defaultMonoFontFamily))
|
|
||||||
missingFonts.push(defaultMonoFontFamily)
|
|
||||||
|
|
||||||
if (missingFonts.length > 0) {
|
|
||||||
var message = "Missing fonts: " + missingFonts.join(", ") + ". Using system defaults."
|
|
||||||
ToastService.showWarning(message)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
property Process testNotificationProcess
|
property Process testNotificationProcess
|
||||||
|
|
||||||
testNotificationProcess: Process {
|
testNotificationProcess: Process {
|
||||||
|
|||||||
Reference in New Issue
Block a user