first retina assets loaded and working

This commit is contained in:
Luis Ángel San Martín
2014-11-08 10:08:13 +01:00
parent 54a5185e35
commit 8c71642432
2 changed files with 11 additions and 10 deletions

View File

@ -135,13 +135,14 @@ int main( int argc, char ** argv )
if(QSysInfo::MacintoshVersion > QSysInfo::MV_10_8)
QFont::insertSubstitution(".Lucida Grande UI", "Lucida Grande");
#endif
#endif
QApplication app( argc, argv );
app.setApplicationName("YACReaderLibrary");
app.setOrganizationName("YACReader");
qApp->setAttribute(Qt::AA_UseHighDpiPixmaps);
//simple command line parser
//will be replaced by QCommandLineParser in the future
//TODO: --headless, --server=[on|off], support for file and directory arguments