From 93e30ee178f54d0ba4729a0f0818d697fec1b512 Mon Sep 17 00:00:00 2001 From: Xarkam Date: Fri, 13 Mar 2026 14:37:51 +0100 Subject: [PATCH] Fix des valeur et des resources --- src/constants.py | 2 +- src/main.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/constants.py b/src/constants.py index 96e3d41..c5be807 100644 --- a/src/constants.py +++ b/src/constants.py @@ -9,7 +9,7 @@ URLS = { } RESOURCES_MP3 = ":/assets/the-beat-of-nature.mp3" -RESOURCES_FONT = ":/assets/fonts/Roboto-Regular.ttf" +RESOURCES_FONT = ":/assets/Avocado-Cake-Demo.otf" GLOW_COLOR = QColor(255, 140, 0, 255) GLOW_BLUR_BASE = 15 diff --git a/src/main.py b/src/main.py index 6cda515..57c59bb 100644 --- a/src/main.py +++ b/src/main.py @@ -5,7 +5,8 @@ from PySide6.QtCore import QResource from PySide6.QtGui import QFontDatabase, QFont from PySide6.QtWidgets import QApplication -import resources as resources +# Ne pas supprimer ! Enregistre les ressources Qt +import resources # noqa: F401 - required to register Qt resources from ui.main_window import MainWindow from constants import RESOURCES_FONT