From: Adrián Chaves (Gallaecio) Date: Thu, 18 Jan 2018 19:30:59 +0000 (+0100) Subject: Exclude m_terminalPanel references when built on Windows X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/2e942237c977fc3fd7d3712167d859a8f56371e9 Exclude m_terminalPanel references when built on Windows Fixes an issue reported by elvisangelaccio at https://phabricator.kde.org/D9955 --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index ad1952361..4d0e6b20d 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()