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:
@@ -26,6 +26,7 @@ TodoOutputPane::TodoOutputPane(TodoItemsModel *todoItemsModel, const Settings *s
|
||||
m_todoItemsModel(todoItemsModel),
|
||||
m_settings(settings)
|
||||
{
|
||||
setDisplayName(Tr::tr("To-Do Entries"));
|
||||
createTreeView();
|
||||
createScopeButtons();
|
||||
setScanningScope(ScanningScopeCurrentFile); // default
|
||||
@@ -59,11 +60,6 @@ QList<QWidget*> TodoOutputPane::toolBarWidgets() const
|
||||
return widgets;
|
||||
}
|
||||
|
||||
QString TodoOutputPane::displayName() const
|
||||
{
|
||||
return Tr::tr("To-Do Entries");
|
||||
}
|
||||
|
||||
int TodoOutputPane::priorityInStatusBar() const
|
||||
{
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user