• Burkhard Lück's avatar
    Fix wrong path to existing wallet files · 0a7279fc
    Burkhard Lück authored
    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 in konfigurator.cpp used QStandardPaths::DataLocation) + "/kwallet/" therefore existing wallet files were not found
    and the config entries "Auto Allow" and "Auto Deny" were always deleted
    With the patch the config entries "Auto Allow" and "Auto Deny" are preserved in kwalletrc
    REVIEW:128354
    BUG:358469
    BUG:363532
    0a7279fc
konfigurator.cpp 14.7 KB