Revision 68c4ca8...

Go back to digest for 13th March 2011

Optimization in KDE Base

Peter Penz committed changes in [kde-baseapps] /src:

Prevent unnecessary reloading of KDirLister on startup

When Dolphin is started with a directory as argument unnecessary reload operations of KDirListers are done. The patch improves this by just letting the DolphinView internally do a loading as soon as it gets visible (and without reloading). Also in case if only one directory is passed as argument the current tab gets reused instead of creating new tabs and removing the current tab.

Thanks a lot to David Faure for pointing out this inefficient handling.

File Changes

Modified 3 files
  • /src
  •   dolphin/dolphinmainwindow.cpp
  •   dolphin/views/dolphinview.cpp
  •   dolphin/views/dolphinview.h
3 files changed in total