Fix wrong path to existing wallet files

Review Request #128354 - Created July 4, 2016 and submitted

Information
Burkhard Lück
kwalletmanager
358469, 363532
Reviewers
kdeutils
vrusu
the wallet files *.kwl + *.salt are located in a subdir "/kwalletd/" in QStandardPaths::GenericDataLocation
see 
kwalletmanager.cpp:390:    const QString path = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/kwalletd/";
kwalletmanager.cpp:420:    const QString destinationDir = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/kwalletd/";

But the code uses QStandardPaths::DataLocation) + "/kwallet/" therefore existing wallet files are not found
and the config entries "Auto Allow" and "Auto Deny" are always deleted

With the patch the config entries "Auto Allow" and "Auto Deny" are preserved in kwalletrc

Burkhard Lück
Elvis Angelaccio
Burkhard Lück
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 0a7279fc0ebab9c8dbc94c6035751d0500aa342d by Burkhard Lück to branch Applications/16.08.
Loading...