finished basic ini skeleton
This commit is contained in:
parent
1ae324b68a
commit
adca5111f6
4 changed files with 83 additions and 11 deletions
|
|
@ -941,6 +941,8 @@ HeaderWidget::HeaderWidget(QWidget *parent) : QWidget(parent) {
|
|||
}
|
||||
connect(channels, &QCheckBox::stateChanged, [this, parent](){
|
||||
set->setValue("show_channels", channels->isChecked(), sizeof("show_channels"));
|
||||
if(!OverseerHandler::settingsPath.empty())
|
||||
set->save(OverseerHandler::settingsPath.c_str());
|
||||
if(parent)
|
||||
QCoreApplication::instance()->postEvent
|
||||
(parent, new QEvent((QEvent::Type)CustomQEvent::RecomposeMainWindow));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue