forked from github_mirror/framelesshelper
parent
b864e39894
commit
2a6b8e6ebe
|
@ -69,15 +69,8 @@ Q_SIGNALS:
|
|||
void micaEnabledChanged();
|
||||
|
||||
private:
|
||||
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
|
||||
// Due to a Qt bug, we can't initialize the QPointer objects with nullptr.
|
||||
// The bug was fixed in Qt 5.15.
|
||||
QPointer<QWidget> m_targetWidget;
|
||||
QPointer<QScreen> m_screen;
|
||||
#else
|
||||
QPointer<QWidget> m_targetWidget = nullptr;
|
||||
QPointer<QScreen> m_screen = nullptr;
|
||||
#endif
|
||||
bool m_micaEnabled = false;
|
||||
MicaMaterial *m_micaMaterial = nullptr;
|
||||
QMetaObject::Connection m_micaRedrawConnection = {};
|
||||
|
|
Loading…
Reference in New Issue