From 579b1061e6e90b444e294713e8d5aa7ad900f5a5 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 13 Nov 2017 11:39:00 -0500 Subject: [PATCH] [kcrash] Configure more robustly --- src/calamares/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/calamares/main.cpp b/src/calamares/main.cpp index 534474337..2e487c58e 100644 --- a/src/calamares/main.cpp +++ b/src/calamares/main.cpp @@ -1,6 +1,7 @@ /* === This file is part of Calamares - === * * Copyright 2014, Teo Mrnjavac + * Copyright 2017, Adriaan de Groot * * Calamares is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -51,7 +52,9 @@ main( int argc, char* argv[] ) "https://calamares.io/bugs" ); KAboutData::setApplicationData( aboutData ); KCrash::initialize(); - KCrash::setCrashHandler(); + // KCrash::setCrashHandler(); + KCrash::setDrKonqiEnabled( true ); + KCrash::setFlags( KCrash::SaferDialog | KCrash::AlwaysDirectly ); // TODO: umount anything in /tmp/calamares-... as an emergency save function #endif