mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
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
This commit is contained in:
parent
64d2fd2981
commit
58f8b515b8
|
@ -1278,7 +1278,6 @@ void DolphinMainWindow::setupDockWidgets()
|
||||||
DolphinDockWidget* terminalDock = new DolphinDockWidget(i18nc("@title:window Shell terminal", "Terminal"));
|
DolphinDockWidget* terminalDock = new DolphinDockWidget(i18nc("@title:window Shell terminal", "Terminal"));
|
||||||
terminalDock->setLocked(lock);
|
terminalDock->setLocked(lock);
|
||||||
terminalDock->setObjectName(QStringLiteral("terminalDock"));
|
terminalDock->setObjectName(QStringLiteral("terminalDock"));
|
||||||
terminalDock->setAllowedAreas(Qt::TopDockWidgetArea | Qt::BottomDockWidgetArea);
|
|
||||||
m_terminalPanel = new TerminalPanel(terminalDock);
|
m_terminalPanel = new TerminalPanel(terminalDock);
|
||||||
m_terminalPanel->setCustomContextMenuActions({lockLayoutAction});
|
m_terminalPanel->setCustomContextMenuActions({lockLayoutAction});
|
||||||
terminalDock->setWidget(m_terminalPanel);
|
terminalDock->setWidget(m_terminalPanel);
|
||||||
|
|
Loading…
Reference in a new issue