From: Nathaniel Graham Date: Tue, 30 Jan 2018 00:05:24 +0000 (-0700) Subject: Let the terminal panel sit on the left or right side of the window X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/58f8b515b8efc19c1b78000e2691c40eeccee30f?hp=-c Let the terminal panel sit on the left or right side of the window Summary: Just what it says: Let the terminal panel sit on the left or right side of the window. Test Plan: Tested in KDE Neon. Works great! Reviewers: #dolphin Differential Revision: https://phabricator.kde.org/D10189 --- 58f8b515b8efc19c1b78000e2691c40eeccee30f diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index c35de766c..070d56aeb 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1278,7 +1278,6 @@ void DolphinMainWindow::setupDockWidgets() DolphinDockWidget* terminalDock = new DolphinDockWidget(i18nc("@title:window Shell terminal", "Terminal")); terminalDock->setLocked(lock); terminalDock->setObjectName(QStringLiteral("terminalDock")); - terminalDock->setAllowedAreas(Qt::TopDockWidgetArea | Qt::BottomDockWidgetArea); m_terminalPanel = new TerminalPanel(terminalDock); m_terminalPanel->setCustomContextMenuActions({lockLayoutAction}); terminalDock->setWidget(m_terminalPanel);