Todo: Remove "Settings" from project settings panel title

Change-Id: I1e611d8bece7381aa61549323dde66ccd7cc0c61
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
Nikolai Kosjar
2016-03-30 13:07:00 +02:00
parent 1553eb04b4
commit 098a6f5024
3 changed files with 3 additions and 3 deletions

View File

@@ -491,7 +491,7 @@
To determine whether the keywords in the whole project or in the current To determine whether the keywords in the whole project or in the current
file are displayed by default, select \uicontrol {Scanning scope}. file are displayed by default, select \uicontrol {Scanning scope}.
To exclude files from scanning, select \uicontrol {To-Do Settings} in the To exclude files from scanning, select \uicontrol {To-Do} in the
\uicontrol Projects mode. Select \uicontrol Add and enter a regular \uicontrol Projects mode. Select \uicontrol Add and enter a regular
expression that matches the path to files to exclude. Use a forward slash expression that matches the path to files to exclude. Use a forward slash
(/) as a separator in the path also on Windows. (/) as a separator in the path also on Windows.

View File

@@ -97,7 +97,7 @@
\li \l{Using Clang Static Analyzer}{Clang Static Analyzer} \li \l{Using Clang Static Analyzer}{Clang Static Analyzer}
\li \l{To-Do List}{To-Do Settings} (experimental) \li \l{To-Do List}{To-Do} (experimental)
\endlist \endlist

View File

@@ -70,7 +70,7 @@ bool TodoPlugin::initialize(const QStringList& args, QString *errMsg)
auto panelFactory = new ProjectExplorer::ProjectPanelFactory(); auto panelFactory = new ProjectExplorer::ProjectPanelFactory();
panelFactory->setPriority(100); panelFactory->setPriority(100);
panelFactory->setDisplayName(TodoProjectSettingsWidget::tr("To-Do Settings")); panelFactory->setDisplayName(TodoProjectSettingsWidget::tr("To-Do"));
panelFactory->setCreateWidgetFunction([this, panelFactory](ProjectExplorer::Project *project) -> QWidget * { panelFactory->setCreateWidgetFunction([this, panelFactory](ProjectExplorer::Project *project) -> QWidget * {
auto *panel = new ProjectExplorer::PropertiesPanel; auto *panel = new ProjectExplorer::PropertiesPanel;
panel->setDisplayName(panelFactory->displayName()); panel->setDisplayName(panelFactory->displayName());