Skip to content

Commit

Permalink
Updated to use images.py file for icon
Browse files Browse the repository at this point in the history
  • Loading branch information
nraikm authored Apr 20, 2020
1 parent 2be80fb commit 3869b1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from PyQt5.QtCore import QUrl
from PyPDF2 import PdfFileReader, PdfFileWriter
import os
import images


def reverse(pdf_reader, path):
Expand All @@ -26,7 +27,7 @@ def setupUi(self, MainWindow):
MainWindow.setObjectName("Double PDF")
MainWindow.resize(800, 431)
MainWindow.setFixedSize(800, 431)
MainWindow.setWindowIcon(QtGui.QIcon('DoublePDF.ico'))
MainWindow.setWindowIcon(QtGui.QIcon(":/doublePDFicon/DoublePDF.ico"))

self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
Expand Down

0 comments on commit 3869b1d

Please sign in to comment.