suppress warning for unused crashHandler
Matthias: Why was KCrash::setCrashHandler(crashHandler); commented out? svn path=/trunk/kdebase/kwin/; revision=174083
This commit is contained in:
parent
d3210cbb64
commit
5244020f5c
1 changed files with 2 additions and 2 deletions
4
main.cpp
4
main.cpp
|
@ -49,12 +49,12 @@ int kwin_screen_number = -1;
|
|||
static bool initting = FALSE;
|
||||
static DCOPClient * client = 0;
|
||||
|
||||
static void crashHandler(int)
|
||||
/*static void crashHandler(int)
|
||||
{
|
||||
KCrash::setCrashHandler(0); // Exit on next crash.
|
||||
client->detach(); // Unregister with dcop.
|
||||
system("kwin&"); // Try to restart
|
||||
}
|
||||
}*/
|
||||
|
||||
int x11ErrorHandler(Display *d, XErrorEvent *e){
|
||||
char msg[80], req[80], number[80];
|
||||
|
|
Loading…
Reference in a new issue