mirror of
https://github.com/marcriera/ddgo-converter.git
synced 2025-05-03 23:17:04 +02:00
Tests with configs
This commit is contained in:
parent
25ba4cdbc0
commit
8c875d3b8d
5 changed files with 48 additions and 27 deletions
|
@ -3,12 +3,14 @@
|
|||
import sys
|
||||
from PyQt5.QtWidgets import QApplication
|
||||
from gui.main import MainWindow
|
||||
from handlers.config import ConfigHandler
|
||||
from handlers.gamepad import GamepadHandler
|
||||
|
||||
class App(QApplication):
|
||||
def __init__(self, sys_argv):
|
||||
super(App, self).__init__(sys_argv)
|
||||
self.main_view = MainWindow(GamepadHandler)
|
||||
self.config = ConfigHandler("config.json")
|
||||
self.main_view = MainWindow(GamepadHandler, self.config)
|
||||
self.main_view.show()
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue