Skip to content

Commit

Permalink
exclude icon
Browse files Browse the repository at this point in the history
  • Loading branch information
kv9898 committed Sep 23, 2024
1 parent 8a4ea40 commit d40ec8f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions GUI.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import sys
import os
#import os
from itertools import permutations
from PySide6.QtWidgets import (QApplication, QWidget, QMainWindow, QLineEdit, QLabel,
QHBoxLayout, QVBoxLayout, QGridLayout, QFrame)
Expand Down Expand Up @@ -225,9 +225,9 @@ def __init__(self):
self.output_shapes = ShapeContainer()
self.layout.addWidget(self.output_shapes)

icon_path = os.path.join(os.path.dirname(__file__) , 'favicon.ico') # comment this out if you don't have an icon
icon = QIcon(icon_path) # comment this out if you don't have an icon
self.setWindowIcon(icon) # comment this out if you don't have an icon
#icon_path = os.path.join(os.path.dirname(__file__) , 'favicon.ico') # comment this out if you don't have an icon
#icon = QIcon(icon_path) # comment this out if you don't have an icon
#self.setWindowIcon(icon) # comment this out if you don't have an icon

def keyPressEvent(self, event):
# clear line edits if c is pressed
Expand Down

0 comments on commit d40ec8f

Please sign in to comment.