aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-01-03 22:10:04 +0000
committerSaturneric <[email protected]>2022-01-03 22:10:04 +0000
commit2f64e4300b77f74cc4a7f0f50dbfe87862b72b95 (patch)
tree0d56d21ed78b5b1377681338619ac79c32386335 /src/main.cpp
parent<fix, feature>(core, ui): key package import. (diff)
downloadGpgFrontend-2f64e4300b77f74cc4a7f0f50dbfe87862b72b95.tar.gz
GpgFrontend-2f64e4300b77f74cc4a7f0f50dbfe87862b72b95.zip
<fix, feature>(core, ui): version system upgrade.
1. can notice user withdraw version now. 2. fix software not restart when signal caught. 3. improve ui.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ae04d7db..149d9b9c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -177,6 +177,7 @@ int main(int argc, char* argv[]) {
}
} else {
+ QApplication::exit(RESTART_CODE);
QMessageBox::information(
nullptr, _("A serious error has occurred"),
_("Oh no! GpgFrontend caught a serious error in the software, so it "