mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-04-22 06:02:03 +02:00
utilsadapter: avoid wrong geometry when getting systray visibility
Change-Id: I05d9770b7198e784356c10164c935b0844cd53b0
This commit is contained in:
parent
79b19aec01
commit
f25e66aa6a
1 changed files with 4 additions and 0 deletions
|
@ -829,6 +829,10 @@ UtilsAdapter::isSystemTrayIconVisible()
|
||||||
{
|
{
|
||||||
if (!systemTray_)
|
if (!systemTray_)
|
||||||
return false;
|
return false;
|
||||||
|
// https://bugreports.qt.io/browse/QTBUG-118656
|
||||||
|
#if defined(Q_OS_LINUX) && !defined(Q_OS_ANDROID)
|
||||||
|
return true;
|
||||||
|
#endif
|
||||||
return systemTray_->geometry() != QRect();
|
return systemTray_->geometry() != QRect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue