1
0
mirror of https://github.com/QRouland/UTPass.git synced 2025-06-25 06:52:28 +00:00

Refactor gpg for more clean job handling

This commit is contained in:
2025-01-15 23:15:00 +01:00
parent 00116aea8c
commit e589abd10c
11 changed files with 381 additions and 242 deletions

View File

@ -33,12 +33,14 @@ Component {
MouseArea {
anchors.fill: parent
onClicked: {
if (fileIsDir) {
folderModel.folder = folderModel.folder + "/" + fileName;
var path = folderModel.folder + "/" + fileName;
if (fileIsDir) {
folderModel.folder = path;
backAction.visible = true;
passwordListHeader.title = fileName;
} else {
Pass.show(folderModel.folder + "/" + fileName);
console.debug("pass show %1".arg(path))
Pass.show(path);
}
}
}
@ -52,15 +54,6 @@ Component {
borderColor: LomiriColors.warmGrey
}
Component {
id: passwordPageDecryptError
ErrorDialog {
textError: i18n.tr("Decryption failed !")
}
}
}
}