Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a98c347

Browse files
Update main.py
1 parent b06b81d commit a98c347

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎PDF-Reader/main.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def __init__(self):
1414
global title_
1515
title_ = "PDF Reader"
1616
self.setWindowTitle(title_)
17+
self.setWindowIcon(QIcon("./icon/pdf-reader-icon.png"))
1718
self.setGeometry(500,70,1000,800)
1819
menu = QMenuBar(self)
1920
self.setMenuWidget(menu)
@@ -52,7 +53,6 @@ def main():
5253
app = QApplication(sys.argv)
5354
app.setApplicationName("PDF-Reader")
5455
app.setApplicationVersion("v1.0")
55-
app.setWindowIcon(QIcon("./icon/pdf-reader-icon.png"))
5656
window = Window()
5757
window.show()
5858
app.exec_()

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /