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:
@ -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 !")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user