Core, ProjectExplorer, Valgrind: Settingspage cosmetics

Change-Id: I79198c7d655b13dbd69d26b8e383a8eb57a8f9bc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2020-02-04 09:02:50 +01:00
parent 96c1fbcd0a
commit c181a53d01
4 changed files with 4 additions and 6 deletions

View File

@@ -260,7 +260,7 @@ void SystemSettingsWidget::showHelpForFileBrowser()
SystemSettings::SystemSettings()
{
setId(Constants::SETTINGS_ID_SYSTEM);
setDisplayName(tr("System"));
setDisplayName(SystemSettingsWidget::tr("System"));
setCategory(Constants::SETTINGS_CATEGORY_CORE);
setWidgetCreator([] { return new SystemSettingsWidget; });
}

View File

@@ -30,10 +30,8 @@
namespace Core {
namespace Internal {
class SystemSettings : public IOptionsPage
class SystemSettings final : public IOptionsPage
{
Q_OBJECT
public:
SystemSettings();
};

View File

@@ -30,7 +30,7 @@
namespace ProjectExplorer {
namespace Internal {
class SshSettingsPage : public Core::IOptionsPage
class SshSettingsPage final : public Core::IOptionsPage
{
public:
SshSettingsPage();

View File

@@ -31,7 +31,7 @@
namespace Valgrind {
namespace Internal {
class ValgrindOptionsPage : public Core::IOptionsPage
class ValgrindOptionsPage final : public Core::IOptionsPage
{
public:
ValgrindOptionsPage();