/***************************************************************************
- * Copyright (C) 2005-2014 by the Quassel Project *
+ * Copyright (C) 2005-2018 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
SonnetSettingsPage::SonnetSettingsPage(QWidget *parent)
: SettingsPage(tr("Interface"), tr("Spell Checking"), parent)
{
- QVBoxLayout *layout = new QVBoxLayout(this);
+ auto *layout = new QVBoxLayout(this);
_configWidget = new Sonnet::ConfigWidget(this);
layout->addWidget(_configWidget);
- connect(_configWidget, SIGNAL(configChanged()), SLOT(widgetHasChanged()));
+ connect(_configWidget, &Sonnet::ConfigWidget::configChanged, this, &SonnetSettingsPage::widgetHasChanged);
}
void SonnetSettingsPage::load()
{
-
+ SettingsPage::load();
}
void SonnetSettingsPage::save()
{
_configWidget->save();
- setChangedState(false);
+ SettingsPage::save();
}