Commit 8d9950ed authored by Tobias Hunger's avatar Tobias Hunger

Kit: Remove some unused code

Change-Id: I7f929466f9a4284127a301db3f38320934bcff20
Reviewed-by: default avatarEike Ziller <>
parent 0aa43393
......@@ -312,17 +312,6 @@ QString Kit::displayName() const
return d->m_macroExpander.expand(d->m_unexpandedDisplayName);
static QString candidateName(const QString &name, const QString &postfix)
if (name.contains(postfix))
return QString();
QString candidate = name;
if (!candidate.isEmpty())
return candidate;
void Kit::setUnexpandedDisplayName(const QString &name)
if (d->m_unexpandedDisplayName == name)
......@@ -332,21 +321,6 @@ void Kit::setUnexpandedDisplayName(const QString &name)
QStringList Kit::candidateNameList(const QString &base) const
QStringList result;
result << base;
foreach (KitInformation *ki, KitManager::kitInformation()) {
const QString postfix = ki->displayNamePostfix(this);
if (!postfix.isEmpty()) {
QString tmp = candidateName(base, postfix);
if (!tmp.isEmpty())
result << tmp;
return result;
void Kit::setCustomFileSystemFriendlyName(const QString &fileSystemFriendlyName)
d->m_fileSystemFriendlyName = fileSystemFriendlyName;
......@@ -79,8 +79,6 @@ public:
QString displayName() const;
void setUnexpandedDisplayName(const QString &name);
QStringList candidateNameList(const QString &base) const;
QString fileSystemFriendlyName() const;
QString customFileSystemFriendlyName() const;
void setCustomFileSystemFriendlyName(const QString &fileSystemFriendlyName);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment