forked from qt-creator/qt-creator
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:
committed by
Henning Gründl
parent
6bf66e982b
commit
3ef30f57a2
@@ -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,
|
||||
|
Reference in New Issue
Block a user