QmlDesigner: Remove output pane default workaround

Remove the workaround that always opens the Application Output when
the Output Pane view opens. This is no longer needed as the last used
output pane index is stored in the settings and used whenever the
output pane is opened the first time.

Change-Id: Ifbe6c60b5331489faff4bb0bce30c3f6fef8fba6
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Henning Gruendl
2023-04-28 16:06:07 +02:00
committed by Henning Gründl
parent 6bf66e982b
commit 3ef30f57a2

View File

@@ -348,15 +348,6 @@ void DesignModeWidget::setup()
command->setAttribute(Core::Command::CA_Hide);
viewCommands.append(command);
connect(command->action(), &QAction::triggered, this, [command]() {
if (!command->action()->isChecked())
return;
auto cmd = Core::ActionManager::command("QtCreator.Pane.ApplicationOutput");
QTC_ASSERT(cmd, return);
cmd->action()->trigger();
});
connect(outputPanePlaceholder,
&Core::OutputPanePlaceHolder::visibilityChangeRequested,
m_outputPaneDockWidget,