Qt4: Remove some dead code

Change-Id: Ia9596fe16af1ea428482977092b58cb5a04db873
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Tobias Hunger
2013-01-15 13:55:52 +01:00
committed by Daniel Teske
parent 229105ba89
commit 53703a3f41

View File

@@ -99,24 +99,6 @@ Qt4BuildConfiguration *enableActiveQt4BuildConfiguration(ProjectExplorer::Target
return bc;
}
QString sanitize(const QString &input)
{
QString result;
result.reserve(input.size());
foreach (const QChar &qc, input) {
const char c = qc.toLatin1();
if ((c >= 'a' && c <='z')
|| (c >= 'A' && c <= 'Z')
|| (c >= '0' && c <= '9')
|| c == '-'
|| c == '_')
result.append(qc);
else
result.append(QLatin1Char('_'));
}
return result;
}
class Qt4ProjectExpander : public Utils::AbstractQtcMacroExpander
{
public:
@@ -161,7 +143,6 @@ private:
QFileInfo m_proFile;
const Kit *m_kit;
QString m_bcName;
Utils::AbstractMacroExpander *m_expander;
};
} // namespace