diff options
author | Anton Khirnov <wyskas@gmail.com> | 2010-08-27 17:02:30 +0200 |
---|---|---|
committer | Anton Khirnov <wyskas@gmail.com> | 2010-08-27 17:02:30 +0200 |
commit | aaafd391a2bfade08c8e4eb255773d29a499dce3 (patch) | |
tree | 7bac99c8b53c65acf7cfa17340029fb10b599f78 | |
parent | 00dcbf5bc3b960b950b29dcc5157796dcfc3b897 (diff) |
nephilim_app: create child objects with self as parent
-rw-r--r-- | nephilim/nephilim_app.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nephilim/nephilim_app.py b/nephilim/nephilim_app.py index 64a6fd1..da387a7 100644 --- a/nephilim/nephilim_app.py +++ b/nephilim/nephilim_app.py @@ -51,12 +51,15 @@ class NephilimApp(QtGui.QApplication): self.setOrganizationName(ORGNAME) self.setWindowIcon(QtGui.QIcon(appIcon)) + def __str__(self): + return APPNAME + def exec_(self): #init MPD layer - self.mpclient = MPClient() + self.mpclient = MPClient(self) #init settings - self.settings = QtCore.QSettings() + self.settings = QtCore.QSettings(self) #init connection window self._connect_win = ConnectWidget() |