From 98eb308fc180d9bea71f448b262ab796353ac904 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 5 Feb 2013 18:36:52 -0600 Subject: Rename KCrash to avoid conflicts with KDE4 --- kdesktop/main.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kdesktop/main.cc') diff --git a/kdesktop/main.cc b/kdesktop/main.cc index 5730305c3..e0f7d98d9 100644 --- a/kdesktop/main.cc +++ b/kdesktop/main.cc @@ -90,7 +90,7 @@ static void crashHandler(int sigId) static void signalHandler(int sigId) { fprintf(stderr, "*** kdesktop got signal %d (Exiting)\n", sigId); - KCrash::setEmergencySaveFunction(0); // No restarts any more + TDECrash::setEmergencySaveFunction(0); // No restarts any more // try to cleanup all windows signal(SIGTERM, SIG_DFL); // next one kills signal(SIGHUP, SIG_DFL); // next one kills @@ -102,7 +102,7 @@ void KDesktop::slotUpAndRunning() { // Activate crash recovery if (getenv("TDE_DEBUG") == NULL) - KCrash::setEmergencySaveFunction(crashHandler); // Try to restart on crash + TDECrash::setEmergencySaveFunction(crashHandler); // Try to restart on crash } extern "C" KDE_EXPORT int kdemain( int argc, char **argv ) -- cgit v1.2.1