Skip to content

Commit

Permalink
move icons to /images
Browse files Browse the repository at this point in the history
  • Loading branch information
fe-art committed Sep 17, 2024
1 parent 2c26ed0 commit f74493d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion clashroyalebuildabot/gui/layout_setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import os

from PyQt6.QtCore import Qt
from PyQt6.QtGui import QFont
from PyQt6.QtGui import QPixmap
Expand All @@ -17,6 +19,7 @@
from PyQt6.QtWidgets import QVBoxLayout
from PyQt6.QtWidgets import QWidget

from clashroyalebuildabot.constants import IMAGES_DIR
from clashroyalebuildabot.gui.gameplay_widget import ImageStreamWindow
from clashroyalebuildabot.gui.utils import save_config

Expand All @@ -29,7 +32,8 @@ def setup_top_bar(main_window):
logo_text_layout = QHBoxLayout()

logo_label = QLabel()
logo_pixmap = QPixmap("logo.png").scaled(

logo_pixmap = QPixmap(os.path.join(IMAGES_DIR, "logo.png")).scaled(
120,
120,
Qt.AspectRatioMode.KeepAspectRatio,
Expand Down
Binary file added clashroyalebuildabot/images/icon.ico
Binary file not shown.
File renamed without changes

0 comments on commit f74493d

Please sign in to comment.