diff options
| author | Adrián Chaves (Gallaecio) <[email protected]> | 2018-01-18 20:30:59 +0100 |
|---|---|---|
| committer | Adrián Chaves (Gallaecio) <[email protected]> | 2018-01-18 20:30:59 +0100 |
| commit | 2e942237c977fc3fd7d3712167d859a8f56371e9 (patch) | |
| tree | 98d7db8097e355edd167ad28ee854677f4303a1d /src/dolphinmainwindow.cpp | |
| parent | 4e40fe810d324e69eeb824e40011e509e6676aaf (diff) | |
Exclude m_terminalPanel references when built on Windows
Fixes an issue reported by elvisangelaccio at https://phabricator.kde.org/D9955
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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() |
