use storage
This commit is contained in:
parent
9d9a22eabb
commit
9d83177672
2 changed files with 3 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ class QBoobMsg(QtApplication):
|
||||||
COPYRIGHT = 'Copyright(C) 2010 Romain Bignon'
|
COPYRIGHT = 'Copyright(C) 2010 Romain Bignon'
|
||||||
|
|
||||||
def main(self, argv):
|
def main(self, argv):
|
||||||
self.load_backends(ICapMessages)
|
self.load_backends(ICapMessages, storage=self.create_storage())
|
||||||
|
|
||||||
self.main_window = MainWindow(self.config, self.weboob)
|
self.main_window = MainWindow(self.config, self.weboob)
|
||||||
self.main_window.show()
|
self.main_window.show()
|
||||||
|
|
|
||||||
|
|
@ -25,9 +25,10 @@ class QHaveSex(QtApplication):
|
||||||
APPNAME = 'qhavesex'
|
APPNAME = 'qhavesex'
|
||||||
VERSION = '1.0'
|
VERSION = '1.0'
|
||||||
COPYRIGHT = 'Copyright(C) 2010 Romain Bignon'
|
COPYRIGHT = 'Copyright(C) 2010 Romain Bignon'
|
||||||
|
STORAGE_FILENAME = 'dating.storage'
|
||||||
|
|
||||||
def main(self, argv):
|
def main(self, argv):
|
||||||
self.load_backends(ICapDating)
|
self.load_backends(ICapDating, storage=self.create_storage())
|
||||||
|
|
||||||
self.main_window = MainWindow(self.config, self.weboob)
|
self.main_window = MainWindow(self.config, self.weboob)
|
||||||
self.main_window.show()
|
self.main_window.show()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue