QDesktopUnixServices: avoid to call virtual function in constructor
This amends 1969b1a90a79dad049694bd1540f8627d5f26875 . Pick-to: 6.9 6.8 6.5 Change-Id: I1be4e229d531f8a91e1ad3133a5b62784d18bb41 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
parent
517dcbf42e
commit
225f8e069b
@ -373,7 +373,7 @@ private:
|
|||||||
|
|
||||||
QDesktopUnixServices::QDesktopUnixServices()
|
QDesktopUnixServices::QDesktopUnixServices()
|
||||||
{
|
{
|
||||||
if (desktopEnvironment() == QByteArrayLiteral("UNKNOWN"))
|
if (detectDesktopEnvironment() == QByteArrayLiteral("UNKNOWN"))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
#if QT_CONFIG(dbus)
|
#if QT_CONFIG(dbus)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user