Exclude m_terminalPanel references when built on Windows

Fixes an issue reported by elvisangelaccio at https://phabricator.kde.org/D9955
This commit is contained in:
Adrián Chaves (Gallaecio) 2018-01-18 20:30:59 +01:00
parent 4e40fe810d
commit 2e942237c9

View file

@ -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()