forked from qt-creator/qt-creator
ProjectExplorer: Remove IPanelFactory
This was the common base class of IProjectPanelFactory and ITargetPanelFactory. Nothing was using the IPanelFactory interface, and there's actually no common interface between those classes. Of the old interface IPanelFactory: id() => only used in ITargetPanelFactory displayName() => only used in IProjectPanelFactory priority() => only used in IProjectPanelFactory This removes lots of boiler plate code for the unused functions. Change-Id: I8488a4e5134fd451907f02c45b7847673e4dc714 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -91,16 +91,6 @@ QString RunSettingsPanelFactory::id() const
|
||||
return QLatin1String(RUNSETTINGS_PANEL_ID);
|
||||
}
|
||||
|
||||
QString RunSettingsPanelFactory::displayName() const
|
||||
{
|
||||
return RunSettingsWidget::tr("Run Settings");
|
||||
}
|
||||
|
||||
int RunSettingsPanelFactory::priority() const
|
||||
{
|
||||
return 20;
|
||||
}
|
||||
|
||||
bool RunSettingsPanelFactory::supports(Target *target)
|
||||
{
|
||||
Q_UNUSED(target);
|
||||
|
||||
Reference in New Issue
Block a user