summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-08-27 07:37:52 +0200
committerMontel Laurent <[email protected]>2015-08-27 07:37:52 +0200
commit16305ba343730403e505de44616f31b8f69b2680 (patch)
tree8b021824546e592e532377ccaf50d8e2234400bc
parente934431d1f4f6a60692d3593d4f8b7175621bbd7 (diff)
Activate Qt::AA_UseHighDpiPixmaps for each application
-rw-r--r--akregator/src/main.cpp1
-rw-r--r--blogilo/src/main.cpp1
-rw-r--r--kaddressbook/main.cpp1
-rw-r--r--kmail/main.cpp1
-rw-r--r--korganizer/main.cpp1
-rw-r--r--mboximporter/main.cpp1
6 files changed, 6 insertions, 0 deletions
diff --git a/akregator/src/main.cpp b/akregator/src/main.cpp
index 5fb2629..52d8d4d 100644
--- a/akregator/src/main.cpp
+++ b/akregator/src/main.cpp
@@ -79,6 +79,7 @@ int Application::activate(const QStringList &args, const QString &workingDir)
int main(int argc, char **argv)
{
Akregator::Application app(argc, &argv);
+ app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
Akregator::AboutData about;
app.setAboutData(about);
diff --git a/blogilo/src/main.cpp b/blogilo/src/main.cpp
index 0e0ad58..aa87f59 100644
--- a/blogilo/src/main.cpp
+++ b/blogilo/src/main.cpp
@@ -36,6 +36,7 @@
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
+ app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
BlogiloMigrateApplication migrate;
migrate.migrate();
diff --git a/kaddressbook/main.cpp b/kaddressbook/main.cpp
index 8a5a848..0ff5c413 100644
--- a/kaddressbook/main.cpp
+++ b/kaddressbook/main.cpp
@@ -58,6 +58,7 @@ int KAddressBookApplication::activate(const QStringList &arguments, const QStrin
int main(int argc, char **argv)
{
KAddressBookApplication app(argc, &argv);
+ app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
KLocalizedString::setApplicationDomain("kaddressbook");
AboutData about;
diff --git a/kmail/main.cpp b/kmail/main.cpp
index a36d164..84db337 100644
--- a/kmail/main.cpp
+++ b/kmail/main.cpp
@@ -108,6 +108,7 @@ void KMailApplication::delayedInstanceCreation(const QStringList &args, const QS
int main(int argc, char *argv[])
{
KMailApplication app(argc, &argv);
+ app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
KMail::AboutData about;
app.setAboutData(about);
diff --git a/korganizer/main.cpp b/korganizer/main.cpp
index a5f7a31..0c15f52 100644
--- a/korganizer/main.cpp
+++ b/korganizer/main.cpp
@@ -35,6 +35,7 @@
int main(int argc, char **argv)
{
KOrganizerApp app(argc, &argv);
+ app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
KOrgMigrateApplication migrate;
migrate.migrate();
diff --git a/mboximporter/main.cpp b/mboximporter/main.cpp
index 4ad4da3..fcc89dc 100644
--- a/mboximporter/main.cpp
+++ b/mboximporter/main.cpp
@@ -29,6 +29,7 @@
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
+ app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
KLocalizedString::setApplicationDomain("mboximporter");
KAboutData aboutData(QStringLiteral("mboximporter"),