From 0995e7c6978707409a7b038557c7e342fa5a3701 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 24 Mar 2010 17:20:58 +0000 Subject: Get rid of the crash dialog upon login. If the client crashes, then nspluginscan should just continue. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1107044 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- nsplugins/pluginscan.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nsplugins/pluginscan.cpp b/nsplugins/pluginscan.cpp index 9d76d1913..b7c0ad1ff 100644 --- a/nsplugins/pluginscan.cpp +++ b/nsplugins/pluginscan.cpp @@ -46,6 +46,7 @@ #include #include #include +#include #include #include #include @@ -222,6 +223,11 @@ void registerPlugin( const QString &name, const QString &description, infoConfig->writeEntry( "mime", mimeInfo ); } +static void segv_handler(int) +{ + _exit(255); +} + int tryCheck(int write_fd, const QString &absFile) { KLibrary *_handle = KLibLoader::self()->library( QFile::encodeName(absFile) ); -- cgit v1.2.1