Commit e586665e authored by Matej Mrenica's avatar Matej Mrenica Committed by Simon Depiets
Browse files

Fix blurry icons by adding UseHighDpiPixmaps flag

When using fractional scaling, icons on the top are blurred. This patch fixes the issue.
The only change needed to the code is to find a better placement for the line.

Test Plan:
No side effects.


Reviewers: #kde_applications, sdepiets

Reviewed By: sdepiets

Subscribers: davidedmundson, sdepiets

Differential Revision:
parent 5ca7da25
...@@ -62,6 +62,8 @@ int main(int argc, char **argv) ...@@ -62,6 +62,8 @@ int main(int argc, char **argv)
TM::threadPool()->setMaxThreadCount(1); TM::threadPool()->setMaxThreadCount(1);
TM::threadPool()->setExpiryTimeout(-1); TM::threadPool()->setExpiryTimeout(-1);
QThreadPool::globalInstance()->setMaxThreadCount(1); QThreadPool::globalInstance()->setMaxThreadCount(1);
// Fixes blurry icons with fractional scaling, see
QApplication app(argc, argv); QApplication app(argc, argv);
KCrash::initialize(); KCrash::initialize();
KLocalizedString::setApplicationDomain("lokalize"); KLocalizedString::setApplicationDomain("lokalize");
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