diff options
author | saturneric <[email protected]> | 2024-07-28 23:57:04 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-07-28 23:57:04 +0000 |
commit | e0510152d40dcc56b9b40415f3861498e6ae5db1 (patch) | |
tree | 517c187e346893acaed44b5c5f345bdffe0b0455 /src/main.cpp | |
parent | fix: sudo command not found on msys2 (diff) | |
download | GpgFrontend-e0510152d40dcc56b9b40415f3861498e6ae5db1.tar.gz GpgFrontend-e0510152d40dcc56b9b40415f3861498e6ae5db1.zip |
fix: solve some known issues
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 085ba03f..e2690f4f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -49,6 +49,9 @@ * @return */ auto main(int argc, char* argv[]) -> int { + // initialize qt resources + Q_INIT_RESOURCE(gpgfrontend); + GpgFrontend::GFCxtSPtr const ctx = GpgFrontend::SecureCreateSharedObject<GpgFrontend::GpgFrontendContext>( argc, argv); @@ -72,9 +75,6 @@ auto main(int argc, char* argv[]) -> int { auto rtn = 0; - // initialize qt resources - Q_INIT_RESOURCE(gpgfrontend); - QCommandLineParser parser; parser.addHelpOption(); parser.addOptions({ |