forked from qt-creator/qt-creator
OutputPane: Use setter for display name
Change-Id: I2e89fbd052330c9e7124272c2f2fa81a0db94de9 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user