[urlpreview] fix for empty settings
Merge pull request #279 from trett/qt4

[urlpreview] fix for empty settings