Changeset View
Changeset View
Standalone View
Standalone View
greeter/greeterapp.cpp
Show First 20 Lines • Show All 116 Lines • ▼ Show 20 Line(s) | 111 | { | |||
---|---|---|---|---|---|
117 | 117 | | |||
118 | if (QX11Info::isPlatformX11()) { | 118 | if (QX11Info::isPlatformX11()) { | ||
119 | installNativeEventFilter(new FocusOutEventFilter); | 119 | installNativeEventFilter(new FocusOutEventFilter); | ||
120 | } | 120 | } | ||
121 | } | 121 | } | ||
122 | 122 | | |||
123 | UnlockApp::~UnlockApp() | 123 | UnlockApp::~UnlockApp() | ||
124 | { | 124 | { | ||
125 | //workaround QTBUG-55460 | ||||
126 | //will be fixed when themes port to QQC2 | ||||
127 | for (auto view: m_views) { | ||||
graesslin: nitpick: whitespaces. | |||||
128 | if (QQuickItem *focusItem = view->activeFocusItem()) { | ||||
129 | focusItem->setFocus(false); | ||||
130 | } | ||||
131 | } | ||||
125 | qDeleteAll(m_views); | 132 | qDeleteAll(m_views); | ||
126 | 133 | | |||
127 | if (m_ksldInterface) { | 134 | if (m_ksldInterface) { | ||
128 | org_kde_ksld_destroy(m_ksldInterface); | 135 | org_kde_ksld_destroy(m_ksldInterface); | ||
129 | } | 136 | } | ||
130 | if (m_ksldRegistry) { | 137 | if (m_ksldRegistry) { | ||
131 | delete m_ksldRegistry; | 138 | delete m_ksldRegistry; | ||
132 | } | 139 | } | ||
▲ Show 20 Lines • Show All 594 Lines • Show Last 20 Lines |
nitpick: whitespaces.