diff --git a/settingswindow.cpp b/settingswindow.cpp index 2813ee6..e13d24b 100644 --- a/settingswindow.cpp +++ b/settingswindow.cpp @@ -12,6 +12,7 @@ SettingsWindow::SettingsWindow(QWidget *parent) : //bool firstrun = !settings.value("core/firstrun").toBool(); //firstrun is inverted! + settings.setParent(this); ui->flowcontrolbox->setCurrentIndex(settings.value("core/flowcontrol", 0).toInt()); ui->senderbox->setValue(settings.value("core/senderinterval", 2).toInt()); ui->traybox->setChecked(settings.value("core/trayiconenabled", 1).toBool());