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

Set Qt::AA_UseHighDpiPixmaps before app instance creation

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