forked from qt-creator/qt-creator
Core, ProjectExplorer, Valgrind: Settingspage cosmetics
Change-Id: I79198c7d655b13dbd69d26b8e383a8eb57a8f9bc Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -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; });
|
||||
}
|
||||
|
@@ -30,10 +30,8 @@
|
||||
namespace Core {
|
||||
namespace Internal {
|
||||
|
||||
class SystemSettings : public IOptionsPage
|
||||
class SystemSettings final : public IOptionsPage
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
SystemSettings();
|
||||
};
|
||||
|
@@ -30,7 +30,7 @@
|
||||
namespace ProjectExplorer {
|
||||
namespace Internal {
|
||||
|
||||
class SshSettingsPage : public Core::IOptionsPage
|
||||
class SshSettingsPage final : public Core::IOptionsPage
|
||||
{
|
||||
public:
|
||||
SshSettingsPage();
|
||||
|
@@ -31,7 +31,7 @@
|
||||
namespace Valgrind {
|
||||
namespace Internal {
|
||||
|
||||
class ValgrindOptionsPage : public Core::IOptionsPage
|
||||
class ValgrindOptionsPage final : public Core::IOptionsPage
|
||||
{
|
||||
public:
|
||||
ValgrindOptionsPage();
|
||||
|
Reference in New Issue
Block a user