From 3ef30f57a222776a466c609a9d9ca56c35ebacfd Mon Sep 17 00:00:00 2001 From: Henning Gruendl Date: Fri, 28 Apr 2023 16:06:07 +0200 Subject: [PATCH] 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 --- src/plugins/qmldesigner/designmodewidget.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/plugins/qmldesigner/designmodewidget.cpp b/src/plugins/qmldesigner/designmodewidget.cpp index ef22c2bb971..27b9b2ff295 100644 --- a/src/plugins/qmldesigner/designmodewidget.cpp +++ b/src/plugins/qmldesigner/designmodewidget.cpp @@ -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,