More changes to suit pyqt4.4

This commit is contained in:
Martin Thompson 2010-05-06 21:41:42 +01:00
parent c613773bfb
commit d04d75ad41

View File

@ -50,7 +50,7 @@ class SongManager():
settings.beginGroup(u'songs')
self.db_url = u''
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':
self.db_url = u'sqlite:///%s/songs.sqlite' % \
AppLocation.get_section_data_path(u'songs')