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.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ui/main_window/MainWindowFileSlotFunction.cpp b/src/ui/main_window/MainWindowFileSlotFunction.cpp
index 933579b0..2590cdda 100644
--- a/src/ui/main_window/MainWindowFileSlotFunction.cpp
+++ b/src/ui/main_window/MainWindowFileSlotFunction.cpp
@@ -83,10 +83,6 @@ bool file_pre_check(QWidget* parent, const QString& path) {
void process_operation(QWidget* parent, const std::string& waiting_title,
const std::function<void()>& func) {
- GpgEncrResult result = nullptr;
-
- gpgme_error_t error;
- bool if_error = false;
auto thread = QThread::create(func);
QApplication::connect(thread, SIGNAL(finished()), thread,
SLOT(deleteLater()));