Commit dcb8d86e authored by Christian Kandeler's avatar Christian Kandeler

Locator: Remove unneeded #ifdef.

Get host OS info at runtime.

Change-Id: I1b64a95021eac969cc7fa51ca16a8d11b0b03e3c
Reviewed-by: default avatarTobias Hunger <>
parent a202bbee
......@@ -104,12 +104,14 @@ public:
void updatePreferredSize();
QSize preferredSize() const { return m_preferredSize; }
#if defined(Q_OS_WIN)
void focusOutEvent (QFocusEvent * event) {
if (event->reason() == Qt::ActiveWindowFocusReason)
if (Utils::HostOsInfo::isWindowsHost()) {
if (event->reason() == Qt::ActiveWindowFocusReason)
} else {
void next() {
int index = currentIndex().row();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment