TerminalPanel is not available on Windows, so commit
bd47eb2e6d broke
the MSVC build on the CI.
m_controlButton(0),
m_updateToolBarTimer(0),
m_lastHandleUrlStatJob(0),
+#ifndef Q_OS_WIN
m_terminalPanel(0),
+#endif
m_placesPanel(0),
m_tearDownFromPlacesRequested(false)
{
setWindowTitle(schemePrefix + fileName);
}
+#ifndef Q_OS_WIN
void DolphinMainWindow::slotStorageTearDownFromPlacesRequested(const QString& mountPath)
{
if (m_terminalPanel->currentWorkingDirectory().startsWith(mountPath)) {
m_terminalPanel->goHome();
}
}
+#endif
void DolphinMainWindow::setupActions()
{
class QToolButton;
class QIcon;
class PlacesPanel;
+#ifndef Q_OS_WIN
class TerminalPanel;
+#endif
/**
* @short Main window for Dolphin.
KIO::Job* m_lastHandleUrlStatJob;
+#ifndef Q_OS_WIN
TerminalPanel* m_terminalPanel;
+#endif
PlacesPanel* m_placesPanel;
bool m_tearDownFromPlacesRequested;
};