OutputPane: Use setter for display name

Change-Id: I2e89fbd052330c9e7124272c2f2fa81a0db94de9
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
Eike Ziller
2023-09-13 11:46:00 +02:00
parent 11c7cd0c9d
commit 409a4c972a
29 changed files with 34 additions and 84 deletions

View File

@@ -37,6 +37,7 @@ namespace Debugger::Internal {
Console::Console()
{
setDisplayName(Tr::tr("QML Debugger Console"));
m_consoleItemModel = new ConsoleItemModel(this);
m_consoleWidget = new QWidget;
@@ -142,11 +143,6 @@ QList<QWidget *> Console::toolBarWidgets() const
m_spacer, m_statusLabel};
}
QString Console::displayName() const
{
return Tr::tr("QML Debugger Console");
}
int Console::priorityInStatusBar() const
{
return 20;