forked from qt-creator/qt-creator
Vcs: Dissolve VcsBaseOptionsPage intermediate hierarchy level
It's effectively setting only three properties nowadays, not enough to justify a case of reuse-by-inheritance anymore. Change-Id: Ia0aedbd0dc460a70bed580a3402cf928c7221a77 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -32,6 +32,8 @@
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
|
||||
#include <vcsbase/vcsbaseconstants.h>
|
||||
|
||||
#include <utils/environment.h>
|
||||
#include <utils/hostosinfo.h>
|
||||
#include <utils/pathchooser.h>
|
||||
@@ -119,10 +121,11 @@ void SettingsPageWidget::apply()
|
||||
}
|
||||
|
||||
ClearCaseSettingsPage::ClearCaseSettingsPage(QObject *parent)
|
||||
: VcsBaseOptionsPage(parent)
|
||||
: Core::IOptionsPage(parent)
|
||||
{
|
||||
setId(ClearCase::Constants::VCS_ID_CLEARCASE);
|
||||
setDisplayName(tr("ClearCase"));
|
||||
setCategory(VcsBase::Constants::VCS_SETTINGS_CATEGORY);
|
||||
setWidgetCreator([] { return new SettingsPageWidget; });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user