mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-30 19:37:15 -05:00
Disable core dumps and tracing on *nix.
But only when built in release mode. Closes #4
This commit is contained in:
parent
807924c0bc
commit
169e6327ea
5 changed files with 66 additions and 0 deletions
|
|
@ -17,12 +17,17 @@
|
|||
|
||||
#include <QtCore/QFile>
|
||||
|
||||
#include "core/Tools.h"
|
||||
#include "crypto/Crypto.h"
|
||||
#include "gui/Application.h"
|
||||
#include "gui/MainWindow.h"
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
#ifdef QT_NO_DEBUG
|
||||
Tools::disableCoreDumps();
|
||||
#endif
|
||||
|
||||
Application app(argc, argv);
|
||||
// don't set applicationName or organizationName as that changes
|
||||
// QDesktopServices::storageLocation()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue