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:
@@ -283,6 +283,7 @@ static VcsOutputWindowPrivate *d = nullptr;
|
||||
|
||||
VcsOutputWindow::VcsOutputWindow()
|
||||
{
|
||||
setDisplayName(Tr::tr("Version Control"));
|
||||
d = new VcsOutputWindowPrivate;
|
||||
Q_ASSERT(d->passwordRegExp.isValid());
|
||||
m_instance = this;
|
||||
@@ -327,11 +328,6 @@ QWidget *VcsOutputWindow::outputWidget(QWidget *parent)
|
||||
return &d->widget;
|
||||
}
|
||||
|
||||
QString VcsOutputWindow::displayName() const
|
||||
{
|
||||
return Tr::tr("Version Control");
|
||||
}
|
||||
|
||||
int VcsOutputWindow::priorityInStatusBar() const
|
||||
{
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user