Commit c4ef8f8a authored by Ahmad Samir's avatar Ahmad Samir
Browse files

Enable high DPI support

Code copied from kate repo.
parent 78e213e7
......@@ -44,6 +44,8 @@ static const char description[] =
int main(int argc, char *argv[])
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
QApplication app(argc, argv);
KAboutData aboutData(QStringLiteral("kcolorchooser"), i18n("KColorChooser"),
......@@ -54,7 +56,6 @@ int main(int argc, char *argv[])
aboutData.setTranslator(i18nc("NAME OF TRANSLATORS", "Your names"), i18nc("EMAIL OF TRANSLATORS", "Your emails"));
QCommandLineParser parser;
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