Save up a bunch of stat() calls on application start

Authored by apol on Aug 10 2017, 1:15 PM.

Description

Save up a bunch of stat() calls on application start

Summary:
We are checking if every language known to us is present just to make
sure that we have more than one and show the dialog entry.
Always showing it is not a big deal and we'd save up this penalty at
start.

Reviewers: Frameworks, dfaure, asturmlechner

Reviewed By: dfaure, asturmlechner

Subscribers: ltoscano, aacid, dfaure, elvisangelaccio, broulik

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D7230

Details

Committed
apolSep 1 2017, 12:27 PM
Reviewer
dfaure
Differential Revision
D7230: Save up a bunch of stat() calls on application start
Parents
R263:f984e30b637f: Fix KHelpMenu position on Wayland
Branches
Unknown
Tags
Unknown