Skip to content

Commit

Permalink
Fix QPixmap initialization in create_icon_from_url function
Browse files Browse the repository at this point in the history
  • Loading branch information
quintenvandamme committed May 2, 2024
1 parent 29d578d commit fddd272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def resource_path(relative_path):
def create_icon_from_url(url):
image_data = requests.get(url).content

pixmap = QPixmap()()
pixmap = QPixmap()
pixmap.loadFromData(image_data)

icon = QIcon(pixmap)
Expand Down

0 comments on commit fddd272

Please sign in to comment.