Qt: Fix OSD being off by default

This commit is contained in:
Vicki Pfau 2022-10-03 23:07:14 -07:00
parent 168c9cb8d6
commit a56bfab48e
1 changed files with 1 additions and 1 deletions

View File

@ -1867,7 +1867,7 @@ void Window::setupOptions() {
ConfigOption* showOSD = m_config->addOption("showOSD");
showOSD->connect([this](const QVariant& value) {
if (m_display) {
if (m_display && !value.isNull()) {
m_display->showOSDMessages(value.toBool());
}
}, this);