summaryrefslogtreecommitdiffstats
path: root/gui/MainWindow.cpp
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2014-05-10 14:16:27 -0500
committerAndrew <forkk@forkk.net>2014-05-10 14:16:27 -0500
commit5099964c673cd45e16d443a3b02f51bade303eee (patch)
tree0c3a3c07c28ce51b80f99b67795a3afb19a976a9 /gui/MainWindow.cpp
parent9e80ddb0405ecd5d45d65e5385d0fbd1f3e734e3 (diff)
downloadMultiMC-5099964c673cd45e16d443a3b02f51bade303eee.tar
MultiMC-5099964c673cd45e16d443a3b02f51bade303eee.tar.gz
MultiMC-5099964c673cd45e16d443a3b02f51bade303eee.tar.lz
MultiMC-5099964c673cd45e16d443a3b02f51bade303eee.tar.xz
MultiMC-5099964c673cd45e16d443a3b02f51bade303eee.zip
Implement backtraces on Windows.
Much !!FUN!! was had
Diffstat (limited to 'gui/MainWindow.cpp')
-rw-r--r--gui/MainWindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/MainWindow.cpp b/gui/MainWindow.cpp
index 58491a7e..f437f8a3 100644
--- a/gui/MainWindow.cpp
+++ b/gui/MainWindow.cpp
@@ -782,6 +782,11 @@ void MainWindow::setCatBackground(bool enabled)
void MainWindow::on_actionAddInstance_triggered()
{
+#ifdef TEST_SEGV
+ // For further testing stuff.
+ int v = *((int*)-1);
+#endif
+
if (!MMC->minecraftlist()->isLoaded() && m_versionLoadTask &&
m_versionLoadTask->isRunning())
{