summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/oapplication.cpp
Side-by-side diff
Diffstat (limited to 'libopie2/opiecore/oapplication.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/oapplication.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/libopie2/opiecore/oapplication.cpp b/libopie2/opiecore/oapplication.cpp
index c3cacce..1b85057 100644
--- a/libopie2/opiecore/oapplication.cpp
+++ b/libopie2/opiecore/oapplication.cpp
@@ -1,10 +1,9 @@
/*
                This file is part of the Opie Project
-
-              Copyright (C) 2003 Michael Lauer <mickey@tm.informatik.uni-frankfurt.de>
+              Copyright (C) 2003 Michael 'Mickey' Lauer <mickey@Vanille.de>
=.
.=l.
           .>+-=
 _;:,     .>    :=|. This program is free software; you can
.> <`_,   >  .   <= redistribute it and/or modify it under
:`=1 )Y*s>-.--   : the terms of the GNU Library General Public
@@ -98,13 +97,15 @@ void OApplication::init()
sigemptyset(&sa.sa_mask);
sigaction(SIGSEGV, &sa, NULL);
*/
}
else
{
- qFatal( "OApplication: Can't create more than one OApplication object. Aborting." );
+ ofatal << "OApplication: Can't create more than one OApplication object. Aborting." << oendl;
+ //FIXME exit gracefully ?
+ ::exit( -1 );
}
}
void OApplication::showMainWidget( QWidget* widget, bool nomax )
{