Refacto, enum, utils, WIP
This commit is contained in:
@@ -8,7 +8,7 @@ from PySide6.QtUiTools import QUiLoader
|
||||
from PySide6.QtWidgets import QMainWindow, QSizePolicy
|
||||
|
||||
from config.config_manager import ConfigManager
|
||||
from constants import NO_DISCORD, URLS, NO_STAFF
|
||||
from constants import NO_DISCORD, NO_STAFF, Urls
|
||||
from controllers.audio_controller import AudioController
|
||||
from controllers.glow_animator import GlowAnimator
|
||||
from controllers.window_dragger import WindowDragger
|
||||
@@ -91,10 +91,10 @@ class MainWindow(QMainWindow):
|
||||
|
||||
@staticmethod
|
||||
def _on_discord() -> None:
|
||||
webbrowser.open(URLS["discord"])
|
||||
webbrowser.open(Urls.DISCORD.value)
|
||||
|
||||
def _on_intranet(self) -> None:
|
||||
webbrowser.open(URLS["intranet"])
|
||||
webbrowser.open(Urls.INTRANET.value)
|
||||
self._glow.start()
|
||||
|
||||
def _on_discord_auth_btn(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user