summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edmundson <[email protected]>2017-01-05 02:15:09 +0000
committerDavid Edmundson <[email protected]>2017-01-05 13:43:06 +0000
commitf64ef01d76f09d3d7a1959ac3976e8b0c223c0ac (patch)
tree772ac0a020be44d36a053117d07107c15396580e
parent1c0aed9aa3943f3bbf2e10bb3d6ee703ad5efe8f (diff)
And enable high DPI on the icons in kfontview
Test Plan: Ran it, opened everything I could find looking for issues Reviewers: #plasma Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D3976
-rw-r--r--kcms/kfontinst/apps/Viewer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kcms/kfontinst/apps/Viewer.cpp b/kcms/kfontinst/apps/Viewer.cpp
index b7e32a0..e1920c7 100644
--- a/kcms/kfontinst/apps/Viewer.cpp
+++ b/kcms/kfontinst/apps/Viewer.cpp
@@ -155,6 +155,7 @@ private:
int main(int argc, char **argv)
{
+ QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
KFI::ViewerApplication app(argc, argv);
KLocalizedString::setApplicationDomain(KFI_CATALOGUE);