From 7787f080678ffd428b269acd8db370a8c0026b37 Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Sat, 14 Oct 2017 12:36:26 +0200 Subject: Fix build on Windows TerminalPanel is not available on Windows, so commit bd47eb2e6d broke the MSVC build on the CI. --- src/dolphinmainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/dolphinmainwindow.cpp') diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index cd232577d..07e80d586 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -100,7 +100,9 @@ DolphinMainWindow::DolphinMainWindow() : m_controlButton(0), m_updateToolBarTimer(0), m_lastHandleUrlStatJob(0), +#ifndef Q_OS_WIN m_terminalPanel(0), +#endif m_placesPanel(0), m_tearDownFromPlacesRequested(false) { @@ -1002,6 +1004,7 @@ void DolphinMainWindow::setUrlAsCaption(const QUrl& url) setWindowTitle(schemePrefix + fileName); } +#ifndef Q_OS_WIN void DolphinMainWindow::slotStorageTearDownFromPlacesRequested(const QString& mountPath) { if (m_terminalPanel->currentWorkingDirectory().startsWith(mountPath)) { @@ -1020,6 +1023,7 @@ void DolphinMainWindow::slotStorageTearDownExternallyRequested(const QString& mo m_terminalPanel->goHome(); } } +#endif void DolphinMainWindow::setupActions() { -- cgit v1.3