Mercurial > trustbridge
comparison ui/main.cpp @ 1076:96e448e1cc9f
(issue116) Add error message when selftest failed
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 11 Sep 2014 10:26:07 +0200 |
parents | 8d811b030959 |
children | 5fad33497694 |
comparison
equal
deleted
inserted
replaced
1075:7e1fd6d96714 | 1076:96e448e1cc9f |
---|---|
81 * | 81 * |
82 * On GNU/Linux platforms you should use an IDS system to | 82 * On GNU/Linux platforms you should use an IDS system to |
83 * monitor executable corruptions. | 83 * monitor executable corruptions. |
84 */ | 84 */ |
85 if (!selftest()) { | 85 if (!selftest()) { |
86 syslog_error_printf ("Integrity check failed."); | 86 syslog_error_printf("Integrity check failed."); |
87 MessageBoxW(NULL, | |
88 L"TrustBridge wurde nach der Installation modifizert.\n" | |
89 L"Um ihr System zu schützen wurde das starten der Anwendung abgebrochen.\n" | |
90 L"Bitte installieren Sie TrustBridge erneut.\n\n" | |
91 L"TrustBridge has been modified after installaton.\n" | |
92 L"To protect your system the application launch has been aborted.\n" | |
93 L"Please reinstall TrustBridge.", | |
94 L"Integritätsprüfung fehlgeschlagen / Integrity check failed.", | |
95 MB_ICONERROR | MB_OK); | |
87 return -1; | 96 return -1; |
88 } | 97 } |
89 #endif | 98 #endif |
90 | 99 |
91 QApplication app (argc, argv); | 100 QApplication app (argc, argv); |