Ignore the SIGPIPE signal as that disturbs debugging with Qt Creator.

It is questionable why this happens and if this patch really helps,
or if it might have side effects. Input appreciated :)
This commit is contained in:
Klaas Freitag 2013-11-20 13:35:41 +01:00
parent 0f6dd8748f
commit e30c484a7a

View file

@ -11,6 +11,7 @@
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*/
#include <signal.h>
#include "mirall/application.h"
#include "mirall/theme.h"
@ -36,6 +37,8 @@ int main(int argc, char **argv)
Mirall::Application app(argc, argv);
app.initialize();
signal(SIGPIPE, SIG_IGN);
if( app.giveHelp() ) {
app.showHelp();
return 0;