diff --git a/children_ui.py b/children_ui.py index 2086669..fae7d00 100644 --- a/children_ui.py +++ b/children_ui.py @@ -78,7 +78,7 @@ class SettingsWindow(QtWidgets.QDialog): self.setModal(True) icon = QtGui.QIcon() - icon.addPixmap(QtGui.QPixmap(str(resource_path(os.path.join("bin", "icon.ico")))), QtGui.QIcon.Normal, QtGui.QIcon.Off) + icon.addPixmap(QtGui.QPixmap(str(resource_path("bin/icon.ico"))), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.setWindowIcon(icon) #Buttonbox