Set default path of "Copy/Move/Link To" dialog to current folder

Authored by muhlenpfordt on Mar 13 2018, 9:51 AM.

Description

Set default path of "Copy/Move/Link To" dialog to current folder

Summary:
D8785 introduced QStandardPaths::PicturesLocation as default
location for Copy/Move/Link To dialog.
This patch sets the starting folder to the current folder (where
the source image(s) resist). It also provides an easier handling
of switching off the history option in D11263.

CCBUG: 391527

Test Plan:

  • Clear LastTargetDir config entry (e.g. remove ~/.config/gwenviewrc)
  • Start Gwenview
  • Select one or more images and press F7 to copy
  • Dialog should start in current folder

Reviewers: Gwenview, rkflx

Reviewed By: Gwenview, rkflx

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

Details

Committed
muhlenpfordtMar 14 2018, 8:03 AM
Reviewer
Gwenview
Differential Revision
D11280: Set default path of "Copy/Move/Link To" dialog to current folder
Parents
R260:d883cdcdc1ea: Bump date+releaseinfo for Gwenview docbook
Branches
Unknown
Tags
Unknown