diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index cd232577d1..07e80d5869 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() { diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 634c2a9e79..c05fc34ad4 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -47,7 +47,9 @@ class KNewFileMenu; class QToolButton; class QIcon; class PlacesPanel; +#ifndef Q_OS_WIN class TerminalPanel; +#endif /** * @short Main window for Dolphin. @@ -516,7 +518,9 @@ private: KIO::Job* m_lastHandleUrlStatJob; +#ifndef Q_OS_WIN TerminalPanel* m_terminalPanel; +#endif PlacesPanel* m_placesPanel; bool m_tearDownFromPlacesRequested; };