diff options
author | Anton Khirnov <wyskas@gmail.com> | 2009-03-12 15:56:45 +0100 |
---|---|---|
committer | Anton Khirnov <wyskas@gmail.com> | 2009-03-12 15:56:45 +0100 |
commit | a45d35eaa9e80af973cd4e62c1efa539dd4853f7 (patch) | |
tree | 86381a2e2ebc21088bdfca96f38cb065dbcc1195 /nephilim/plugin.py | |
parent | 407931ab6475d7c0a8300a1550a0fa5079f33074 (diff) |
Call QSettings constructors with no parametrs.
Diffstat (limited to 'nephilim/plugin.py')
-rw-r--r-- | nephilim/plugin.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nephilim/plugin.py b/nephilim/plugin.py index 86a379c..1a9bb0c 100644 --- a/nephilim/plugin.py +++ b/nephilim/plugin.py @@ -3,7 +3,6 @@ from PyQt4.QtCore import QVariant import logging import plugins -from misc import * class Plugin(QtCore.QObject): _name = None @@ -22,7 +21,7 @@ class Plugin(QtCore.QObject): self._mpclient = mpclient self._loaded = False self._listeners = [] - self._settings = QtCore.QSettings(ORGNAME, APPNAME) + self._settings = QtCore.QSettings() #init settings self._settings.beginGroup(name) @@ -89,7 +88,7 @@ class Plugin(QtCore.QObject): def __init__(self, plugin): QtGui.QWidget.__init__(self) self.plugin = plugin - self._settings = QtCore.QSettings(ORGNAME, APPNAME) + self._settings = QtCore.QSettings() def settings(self): return self._settings |