]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Let the terminal panel sit on the left or right side of the window
authorNathaniel Graham <pointedstick@zoho.com>
Tue, 30 Jan 2018 00:05:24 +0000 (17:05 -0700)
committerNathaniel Graham <pointedstick@zoho.com>
Tue, 30 Jan 2018 00:06:06 +0000 (17:06 -0700)
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

src/dolphinmainwindow.cpp

index c35de766ccfd717df002025fc61e0df653b65ea3..070d56aeb21ee1960234968432f553745de40f43 100644 (file)
@@ -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);