Prevent Qt crash at startup with an empty data directory
Merge pull request #2248 from gavinandresen/issue2239

Prevent Qt crash at startup with an empty data directory