Only call QSystemTrayIcon::isSystemTrayAvailable once
Workaround file descriptor leak Fixes #724
This commit is contained in:
@@ -435,7 +435,7 @@ bool OSDBase::SupportsNativeNotifications() {
|
||||
}
|
||||
|
||||
bool OSDBase::SupportsTrayPopups() {
|
||||
return tray_icon_->isSystemTrayAvailable();
|
||||
return tray_icon_->IsSystemTrayAvailable();
|
||||
}
|
||||
|
||||
void OSDBase::ShowMessageNative(const QString&, const QString&, const QString&, const QImage&) {
|
||||
|
||||
Reference in New Issue
Block a user