Merge pull request #5291 from lemondrops/patch-1

Initialize the sound icon menu pointer
This commit is contained in:
Miran Grča
2025-03-07 07:20:24 +01:00
committed by GitHub

View File

@@ -259,6 +259,7 @@ MachineStatus::MachineStatus(QObject *parent)
{
d = std::make_unique<MachineStatus::States>(this);
muteUnmuteAction = nullptr;
soundMenu = nullptr;
connect(refreshTimer, &QTimer::timeout, this, &MachineStatus::refreshIcons);
refreshTimer->start(75);
}