purge unused VcprojGenerator::findTemplate()

it looked fishy for years. now i know why. ;)

Change-Id: I822cadecaf8d914f383f9f907b92507852e434b4
This commit is contained in:
Oswald Buddenhagen 2012-06-01 11:26:34 +02:00
parent b35d8e651b
commit ab0d55e361
2 changed files with 0 additions and 17 deletions

View File

@ -1577,22 +1577,6 @@ QString VcprojGenerator::fixFilename(QString ofile) const
return ofile; return ofile;
} }
QString VcprojGenerator::findTemplate(QString file)
{
QString ret;
if(!exists((ret = file)) &&
!exists((ret = QString((project->isHostBuild()
? Option::mkfile::qmakespec : Option::mkfile::xqmakespec) + '/' + file))) &&
!exists((ret = QString(QLibraryInfo::location(QLibraryInfo::HostDataPath) + "/win32-msvc.net/" + file))) &&
!exists((ret = QString(QLibraryInfo::location(QLibraryInfo::HostDataPath) + "/win32-msvc2002/" + file))) &&
!exists((ret = QString(QLibraryInfo::location(QLibraryInfo::HostDataPath) + "/win32-msvc2003/" + file))) &&
!exists((ret = QString(QLibraryInfo::location(QLibraryInfo::HostDataPath) + "/win32-msvc2005/" + file))) &&
!exists((ret = QString(QLibraryInfo::location(QLibraryInfo::HostDataPath) + "/win32-msvc2008/" + file))))
return "";
debug_msg(1, "Generator: MSVC.NET: Found template \'%s\'", ret.toLatin1().constData());
return ret;
}
void VcprojGenerator::outputVariables() void VcprojGenerator::outputVariables()
{ {
#if 0 #if 0

View File

@ -63,7 +63,6 @@ class VcprojGenerator : public Win32MakefileGenerator
bool writeMakefile(QTextStream &); bool writeMakefile(QTextStream &);
bool writeProjectMakefile(); bool writeProjectMakefile();
QString findTemplate(QString file);
void init(); void init();
public: public: