Fix image loading on Retina and other HiDPI displays.

This commit is contained in:
Augustin Cavalier
2014-10-27 13:11:55 -04:00
parent 32c6848c79
commit 5b4b74de6a
3 changed files with 35 additions and 15 deletions

View File

@ -39,6 +39,7 @@ static QString LowestSupportedOsVersion()
int main(int argc, char* argv[])
{
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps);
// TODO: Add command line options
UICommon::CreateDirectories();