Commit 893cafe7 authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Forbid the current plugins to be on the bottom or top dock areas

parent d17037e8
Pipeline #244257 failed with stage
in 2 minutes and 48 seconds
......@@ -46,6 +46,7 @@ void QuickCommandsPlugin::createWidgetsForMainWindow(Konsole::MainWindow *mainWi
qcDockWidget->setWidget(qcWidget);
qcDockWidget->setObjectName(QStringLiteral("QuickCommandsDock"));
qcDockWidget->setVisible(false);
qcDockWidget->setAllowedAreas(Qt::DockWidgetArea::LeftDockWidgetArea | Qt::DockWidgetArea::RightDockWidgetArea);
mainWindow->addDockWidget(Qt::LeftDockWidgetArea, qcDockWidget);
connect(qcWidget, &QuickCommandsWidget::quickAccessShortcutChanged, this, [this](QKeySequence s) {
......
......@@ -63,6 +63,7 @@ void SSHManagerPlugin::createWidgetsForMainWindow(Konsole::MainWindow *mainWindo
sshDockWidget->setWindowTitle(i18n("SSH Manager"));
sshDockWidget->setObjectName(QStringLiteral("SSHManagerDock"));
sshDockWidget->setVisible(false);
sshDockWidget->setAllowedAreas(Qt::DockWidgetArea::LeftDockWidgetArea | Qt::DockWidgetArea::RightDockWidgetArea);
mainWindow->addDockWidget(Qt::LeftDockWidgetArea, sshDockWidget);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment