forked from openlp/openlp
Fix db settings location
This commit is contained in:
parent
84f9fc9ee1
commit
999df4e296
@ -96,7 +96,7 @@ class SongManager(object):
|
|||||||
settings = QtCore.QSettings()
|
settings = QtCore.QSettings()
|
||||||
settings.beginGroup(u'songs')
|
settings.beginGroup(u'songs')
|
||||||
self.db_url = u''
|
self.db_url = u''
|
||||||
db_type = unicode(settings.value(u'songs/db type',
|
db_type = unicode(settings.value(u'db type',
|
||||||
QtCore.QVariant(u'sqlite')).toString())
|
QtCore.QVariant(u'sqlite')).toString())
|
||||||
if db_type == u'sqlite':
|
if db_type == u'sqlite':
|
||||||
self.db_url = u'sqlite:///%s/songs.sqlite' % \
|
self.db_url = u'sqlite:///%s/songs.sqlite' % \
|
||||||
|
Loading…
Reference in New Issue
Block a user