diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/MainWindow.cpp | 5 |
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()) { |