]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Exclude m_terminalPanel references when built on Windows
authorAdrián Chaves (Gallaecio) <adrian@chaves.io>
Thu, 18 Jan 2018 19:30:59 +0000 (20:30 +0100)
committerAdrián Chaves (Gallaecio) <adrian@chaves.io>
Thu, 18 Jan 2018 19:30:59 +0000 (20:30 +0100)
Fixes an issue reported by elvisangelaccio at https://phabricator.kde.org/D9955

src/dolphinmainwindow.cpp

index ad19523613cdfb55b2cdc59ce80b5f3cc51a7a20..4d0e6b20dd79086f0d0ef4d625631d8db0790e90 100644 (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()