aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-05-07 21:25:24 +0000
committerSaturneric <[email protected]>2022-05-07 21:25:24 +0000
commit9a9f648824cbfc1b9075e1793504e541a700a721 (patch)
tree3e5c4c0182887436eb1990817146511995324b95 /src/main.cpp
parentfix: link issue of intl in linux platform (diff)
downloadGpgFrontend-9a9f648824cbfc1b9075e1793504e541a700a721.tar.gz
GpgFrontend-9a9f648824cbfc1b9075e1793504e541a700a721.zip
fix: solve some issues
1. slove deb packing issues 2. solve ci issues
Diffstat (limited to '')
-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,