┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrián Chaves (Gallaecio) <[email protected]>2018-01-18 20:30:59 +0100
committerAdrián Chaves (Gallaecio) <[email protected]>2018-01-18 20:30:59 +0100
commit2e942237c977fc3fd7d3712167d859a8f56371e9 (patch)
tree98d7db8097e355edd167ad28ee854677f4303a1d
parent4e40fe810d324e69eeb824e40011e509e6676aaf (diff)
Exclude m_terminalPanel references when built on Windows
Fixes an issue reported by elvisangelaccio at https://phabricator.kde.org/D9955
-rw-r--r--src/dolphinmainwindow.cpp2
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()