Commit de6d8f35 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Set Qt::AA_UseHighDpiPixmaps true for marble desktop apps

parent 17c73b12
......@@ -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" );
......
Supports Markdown
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