Rename Config to ConfigManager
This commit is contained in:
parent
d4b35b6734
commit
c087efb1fd
@ -58,7 +58,7 @@ def init(configdir):
|
|||||||
"""
|
"""
|
||||||
global instance, state, cmd_history
|
global instance, state, cmd_history
|
||||||
logging.debug("Config init, configdir {}".format(configdir))
|
logging.debug("Config init, configdir {}".format(configdir))
|
||||||
instance = Config(configdir, 'qutebrowser.conf')
|
instance = ConfigManager(configdir, 'qutebrowser.conf')
|
||||||
state = ReadWriteConfigParser(configdir, 'state')
|
state = ReadWriteConfigParser(configdir, 'state')
|
||||||
cmd_history = LineConfigParser(configdir, 'cmd_history',
|
cmd_history = LineConfigParser(configdir, 'cmd_history',
|
||||||
('general', 'cmd_histlen'))
|
('general', 'cmd_histlen'))
|
||||||
@ -83,7 +83,7 @@ class NoOptionError(configparser.NoOptionError):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class Config(QObject):
|
class ConfigManager(QObject):
|
||||||
|
|
||||||
"""Configuration manager for qutebrowser.
|
"""Configuration manager for qutebrowser.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user