diff --git a/libEPLViz/src/settings/SettingsWindow.cpp b/libEPLViz/src/settings/SettingsWindow.cpp
index 1297633..8b0dc16 100644
--- a/libEPLViz/src/settings/SettingsWindow.cpp
+++ b/libEPLViz/src/settings/SettingsWindow.cpp
@@ -140,9 +140,6 @@ SettingsWindow::SettingsWindow(QWidget *parent, ProfileManager *settings)
prof = profiles[currentProfile].get();
ui->profList->setCurrentItem(prof);
updateView();
-
- QBrush tb(Qt::transparent); // Transparent brush, solid pattern
- ui->crashButton->setPalette(QPalette(tb, tb, tb, tb, tb, tb, tb, tb, tb));
}
@@ -702,19 +699,6 @@ int SettingsWindow::execPlotsTab() {
return exec();
}
-void SettingsWindow::lauchCrash() {
- auto btn = QMessageBox::question(this,
- "Secret Crash Dialog",
- "This is a debug dialog. It is used to create SEGFAULT's. Pressing the 'Yes' "
- "button WILL CRASH EPL-Viz. Save your work before tying it!",
- QMessageBox::Yes | QMessageBox::No,
- QMessageBox::No);
- if (btn == QMessageBox::Yes) {
- int *p = nullptr;
- *p = 5;
- }
-}
-
void SettingsWindow::enterRecordingState() {
for (auto *i : disableList)
i->setEnabled(false);
diff --git a/libEPLViz/src/settings/SettingsWindow.hpp b/libEPLViz/src/settings/SettingsWindow.hpp
index caa794e..3f63a88 100644
--- a/libEPLViz/src/settings/SettingsWindow.hpp
+++ b/libEPLViz/src/settings/SettingsWindow.hpp
@@ -90,8 +90,6 @@ class SettingsWindow : public QDialog {
void plotDelete();
void plotClear();
- void lauchCrash();
-
void createPlot(uint8_t nodeID, uint16_t index, uint8_t subIndex, std::string cs, QColor color);
signals:
diff --git a/libEPLViz/ui/settingswindow.ui b/libEPLViz/ui/settingswindow.ui
index aaa3f95..9de145b 100644
--- a/libEPLViz/ui/settingswindow.ui
+++ b/libEPLViz/ui/settingswindow.ui
@@ -3089,22 +3089,6 @@
- -
-
-
-
- 0
- 75
-
-
-
- border: 0px
-
-
-
-
-
-
@@ -3745,22 +3729,6 @@
-
- crashButton
- clicked()
- SettingsWindow
- lauchCrash()
-
-
- 708
- 594
-
-
- 566
- 340
-
-
-
apply()