Skip to content

Commit

Permalink
support sakura 13b
Browse files Browse the repository at this point in the history
  • Loading branch information
CjangCjengh committed Dec 10, 2023
1 parent eed68a9 commit a5ca24c
Show file tree
Hide file tree
Showing 3 changed files with 319 additions and 223 deletions.
6 changes: 3 additions & 3 deletions YakuYaku.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
from PyQt6.QtGui import QIcon, QGuiApplication
from ui import MainWindow

if __name__ == "__main__":
if __name__ == '__main__':
app = QApplication(sys.argv)
QApplication.setWindowIcon(QIcon("yakuyaku.ico"))
settings = QSettings("settings.ini", QSettings.Format.IniFormat)
QApplication.setWindowIcon(QIcon('yakuyaku.ico'))
settings = QSettings('settings.ini', QSettings.Format.IniFormat)
if settings.contains('language'):
translator = QTranslator()
translator.load(settings.value('language'))
Expand Down
Loading

0 comments on commit a5ca24c

Please sign in to comment.