aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/MainWindowFileSlotFunction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/main_window/MainWindowFileSlotFunction.cpp')
-rw-r--r--src/ui/main_window/MainWindowFileSlotFunction.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/ui/main_window/MainWindowFileSlotFunction.cpp b/src/ui/main_window/MainWindowFileSlotFunction.cpp
index e7a25396..444cc224 100644
--- a/src/ui/main_window/MainWindowFileSlotFunction.cpp
+++ b/src/ui/main_window/MainWindowFileSlotFunction.cpp
@@ -256,9 +256,11 @@ void MainWindow::SlotFileEncrypt() {
process_operation(this, _("Encrypting"), [&](DataObjectPtr) -> int {
try {
- error =
- GpgFileOpera::EncryptFile(std::move(p_keys), path.toStdString(),
- out_path.toStdString(), result, _channel);
+ // TODO
+ // error =
+ // GpgFileOpera::EncryptFile(std::move(p_keys), path.toStdString(),
+ // out_path.toStdString(), result,
+ // _channel);
} catch (const std::runtime_error& e) {
if_error = true;
}
@@ -319,8 +321,10 @@ void MainWindow::SlotFileDecrypt() {
bool if_error = false;
process_operation(this, _("Decrypting"), [&](DataObjectPtr) -> int {
try {
- error = GpgFileOpera::DecryptFile(path.toStdString(), out_path.u8string(),
- result);
+ // TODO
+ // error = GpgFileOpera::DecryptFile(path.toStdString(),
+ // out_path.u8string(),
+ // result);
} catch (const std::runtime_error& e) {
if_error = true;
}