aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5badbf7c..51d977b2 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -125,19 +125,6 @@ int main(int argc, char* argv[]) {
file.close();
#endif
-#ifdef GPG_STANDALONE_MODE
- LOG(INFO) << "GPG_STANDALONE_MODE Enabled";
- auto gpg_path =
- GpgFrontend::GlobalSettingStation::GetInstance().GetStandaloneGpgBinDir();
- auto db_path = GpgFrontend::GlobalSettingStation::GetInstance()
- .GetStandaloneDatabaseDir();
- GpgFrontend::GpgContext::CreateInstance(
- GpgFrontend::SingletonFunctionObject<
- GpgFrontend::GpgContext>::GetDefaultChannel(),
- std::make_unique<GpgFrontend::GpgContext>(true, db_path.u8string(), true,
- gpg_path.u8string()));
-#endif
-
// create the thread to load the gpg context
auto* init_ctx_thread = new GpgFrontend::CtxCheckThread();
QApplication::connect(init_ctx_thread, &QThread::finished, init_ctx_thread,