From 2e942237c977fc3fd7d3712167d859a8f56371e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Chaves=20=28Gallaecio=29?= Date: Thu, 18 Jan 2018 20:30:59 +0100 Subject: [PATCH] Exclude m_terminalPanel references when built on Windows Fixes an issue reported by elvisangelaccio at https://phabricator.kde.org/D9955 --- src/dolphinmainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index ad19523613..4d0e6b20dd 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -631,9 +631,11 @@ void DolphinMainWindow::togglePanelLockState() void DolphinMainWindow::slotTerminalPanelVisibilityChanged() { +#ifndef Q_OS_WIN if (m_terminalPanel->isHiddenInVisibleWindow()) { m_activeViewContainer->view()->setFocus(); } +#endif } void DolphinMainWindow::goBack()