summaryrefslogtreecommitdiffstats
path: root/gui/MainWindow.cpp
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2014-05-21 15:57:34 +0200
committerJan Dalheimer <jan@dalheimer.de>2014-05-21 15:57:34 +0200
commitfc3c0b09719927fa8e0ce63a93b8f461f4928fdb (patch)
treeed81f15b305da904d63d0e0e74643aa0800a0919 /gui/MainWindow.cpp
parent94cb5c7d770866269d1a61ec6b3c76607eccee6f (diff)
parente6ca58a89e12bb2c7636dac91b6a1a609c6780b3 (diff)
downloadMultiMC-fc3c0b09719927fa8e0ce63a93b8f461f4928fdb.tar
MultiMC-fc3c0b09719927fa8e0ce63a93b8f461f4928fdb.tar.gz
MultiMC-fc3c0b09719927fa8e0ce63a93b8f461f4928fdb.tar.lz
MultiMC-fc3c0b09719927fa8e0ce63a93b8f461f4928fdb.tar.xz
MultiMC-fc3c0b09719927fa8e0ce63a93b8f461f4928fdb.zip
Merge branch 'feature_crashreport' into develop
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 554a58ec..5ba05b2a 100644
--- a/gui/MainWindow.cpp
+++ b/gui/MainWindow.cpp
@@ -709,6 +709,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())
{