https://bugs.kde.org/show_bug.cgi?id=403524

David Faure <fa...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kio/commit/5ae49645e
                   |                            |211c37f1f104d2c9ba818bfe1d6
                   |                            |d10c

--- Comment #9 from David Faure <fa...@kde.org> ---
Git commit 5ae49645e211c37f1f104d2c9ba818bfe1d6d10c by David Faure.
Committed on 14/08/2020 at 07:43.
Pushed by dfaure into branch 'master'.

KFileWidget: reparse config to grab dirs added by other instances of the app

Can't use KConfigWatcher since KFileWidget is short-lived. Well it would
have to be a Q_GLOBAL_STATIC, use memory and watch forever even if the
user is no longer using the file dialog in this app, not sure the
tradeoff is a good one.

With the current solution, I measured that the reparseConfiguration call
takes 4ms in kmail (very large app config file), seems acceptable.
(Non-optimized Qt build, optimized KF5 build, SSD)

M  +1    -0    src/filewidgets/kfilewidget.cpp

https://invent.kde.org/frameworks/kio/commit/5ae49645e211c37f1f104d2c9ba818bfe1d6d10c

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to