Set Qt::AA_UseHighDpiPixmaps true for marble desktop apps

parent 5b194b02
......@@ -81,6 +81,8 @@ static void loadLibAndPluginTranslations(QApplication &app)
int main ( int argc, char *argv[] )
{
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
QApplication app( argc, argv );
// Load Qt translation system catalog for the plugins and libmarblewidget
......
......@@ -83,6 +83,8 @@ static void loadTranslations(QApplication &app)
int main(int argc, char *argv[])
{
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
QApplication app(argc, argv);
app.setApplicationName( "Marble Virtual Globe" );
app.setOrganizationName( "KDE" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment