store interface configuration
This commit is contained in:
parent
637bf2936a
commit
acdb0b9300
2 changed files with 21 additions and 4 deletions
|
|
@ -24,9 +24,16 @@ from weboob.tools.application import QtApplication
|
|||
from .main_window import MainWindow
|
||||
|
||||
class QVideoob(QtApplication):
|
||||
APPNAME = 'qvideoob'
|
||||
CONFIG = {'settings': {'nsfw': True,
|
||||
'sortby': 0,
|
||||
'backend': ''
|
||||
}
|
||||
}
|
||||
def main(self, argv):
|
||||
self.weboob.load_backends(ICapVideoProvider)
|
||||
self.load_config()
|
||||
|
||||
self.main_window = MainWindow(self.weboob)
|
||||
self.main_window = MainWindow(self.config, self.weboob)
|
||||
self.main_window.show()
|
||||
return self.weboob.loop()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue