[vlmc-devel] [PATCH] Reduced puke risk by replacing best crash function with an ordinary one.
Paweł Wegner
pawel.wegner95 at gmail.com
Sun Mar 13 13:09:03 CET 2016
---
src/Gui/MainWindow.cpp | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp
index fc88afd..61f1470 100644
--- a/src/Gui/MainWindow.cpp
+++ b/src/Gui/MainWindow.cpp
@@ -838,9 +838,10 @@ MainWindow::on_actionCrash_triggered()
{
//WARNING: read this part at your own risk !!
//I'm not responsible if you puke while reading this :D
- QString str;
- int test = 1 / str.length();
- Q_UNUSED( test );
+ //QString str;
+ //int test = 1 / str.length();
+ //Q_UNUSED( test );
+ abort();
}
bool
--
2.7.0
More information about the Vlmc-devel
mailing list