forked from qt-creator/qt-creator
ProjectExplorer: Remove an unused member from ProjectConfigurationModel
Change-Id: I7924019c5280c36b66db9a98e1d44f5b0f3c6988 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -10,7 +10,6 @@
|
|||||||
#include "runconfiguration.h"
|
#include "runconfiguration.h"
|
||||||
#include "target.h"
|
#include "target.h"
|
||||||
|
|
||||||
#include <utils/algorithm.h>
|
|
||||||
#include <utils/stringutils.h>
|
#include <utils/stringutils.h>
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
@@ -28,8 +27,7 @@ static bool isOrderedBefore(const ProjectConfiguration *a, const ProjectConfigur
|
|||||||
return Utils::caseFriendlyCompare(a->displayName(), b->displayName()) < 0;
|
return Utils::caseFriendlyCompare(a->displayName(), b->displayName()) < 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ProjectConfigurationModel::ProjectConfigurationModel(Target *target) :
|
ProjectConfigurationModel::ProjectConfigurationModel(Target *target)
|
||||||
m_target(target)
|
|
||||||
{
|
{
|
||||||
connect(target, &Target::runConfigurationsUpdated, this, [this] {
|
connect(target, &Target::runConfigurationsUpdated, this, [this] {
|
||||||
emit dataChanged(index(0, 0), index(rowCount(), 0));
|
emit dataChanged(index(0, 0), index(rowCount(), 0));
|
||||||
|
@@ -32,7 +32,6 @@ public:
|
|||||||
private:
|
private:
|
||||||
void displayNameChanged(ProjectConfiguration *pc);
|
void displayNameChanged(ProjectConfiguration *pc);
|
||||||
|
|
||||||
Target *m_target;
|
|
||||||
QList<ProjectConfiguration *> m_projectConfigurations;
|
QList<ProjectConfiguration *> m_projectConfigurations;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user