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()
|
SystemSettings::SystemSettings()
|
||||||
{
|
{
|
||||||
setId(Constants::SETTINGS_ID_SYSTEM);
|
setId(Constants::SETTINGS_ID_SYSTEM);
|
||||||
setDisplayName(tr("System"));
|
setDisplayName(SystemSettingsWidget::tr("System"));
|
||||||
setCategory(Constants::SETTINGS_CATEGORY_CORE);
|
setCategory(Constants::SETTINGS_CATEGORY_CORE);
|
||||||
setWidgetCreator([] { return new SystemSettingsWidget; });
|
setWidgetCreator([] { return new SystemSettingsWidget; });
|
||||||
}
|
}
|
||||||
|
@@ -30,10 +30,8 @@
|
|||||||
namespace Core {
|
namespace Core {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
class SystemSettings : public IOptionsPage
|
class SystemSettings final : public IOptionsPage
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SystemSettings();
|
SystemSettings();
|
||||||
};
|
};
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
namespace ProjectExplorer {
|
namespace ProjectExplorer {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
class SshSettingsPage : public Core::IOptionsPage
|
class SshSettingsPage final : public Core::IOptionsPage
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SshSettingsPage();
|
SshSettingsPage();
|
||||||
|
@@ -31,7 +31,7 @@
|
|||||||
namespace Valgrind {
|
namespace Valgrind {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
class ValgrindOptionsPage : public Core::IOptionsPage
|
class ValgrindOptionsPage final : public Core::IOptionsPage
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ValgrindOptionsPage();
|
ValgrindOptionsPage();
|
||||||
|
Reference in New Issue
Block a user