forked from openlp/openlp
More changes to suit pyqt4.4
This commit is contained in:
parent
c613773bfb
commit
d04d75ad41
@ -50,7 +50,7 @@ class SongManager():
|
|||||||
settings.beginGroup(u'songs')
|
settings.beginGroup(u'songs')
|
||||||
self.db_url = u''
|
self.db_url = u''
|
||||||
db_type = unicode(
|
db_type = unicode(
|
||||||
settings.value(u'songs/db type', u'sqlite').toString())
|
settings.value(u'songs/db type', 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' % \
|
||||||
AppLocation.get_section_data_path(u'songs')
|
AppLocation.get_section_data_path(u'songs')
|
||||||
|
Loading…
Reference in New Issue
Block a user