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

Set Qt::AA_UseHighDpiPixmaps before app instance creation

parent d5e62679
......@@ -50,6 +50,8 @@
int main(int argc, char* argv[])
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
QApplication app(argc, argv);
......@@ -69,8 +71,6 @@ int main(int argc, char* argv[])
app.setWindowIcon(QIcon::fromTheme(QStringLiteral("kompare"), app.windowIcon()));
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
QCommandLineParser parser;
parser.addOption(QCommandLineOption(QStringLiteral("c"), i18n("This will compare URL1 with URL2")));
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