diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2014-11-24 13:53:47 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2015-02-02 11:15:02 +0000 |
commit | 5932fc4ab8cbac6ba093fe5375dcba873b42b2e3 (patch) | |
tree | 4d067e091b34bb34556007fc65386ba401644022 /qmake/generators/win32 | |
parent | 77980b78ab535f6807f7219961fadd01ee8f4e29 (diff) |
prune dead fixFilename() function
Change-Id: I84bafecccec286094701874b2780b45d08797524
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'qmake/generators/win32')
-rw-r--r-- | qmake/generators/win32/msvc_vcproj.cpp | 16 | ||||
-rw-r--r-- | qmake/generators/win32/msvc_vcproj.h | 1 |
2 files changed, 0 insertions, 17 deletions
diff --git a/qmake/generators/win32/msvc_vcproj.cpp b/qmake/generators/win32/msvc_vcproj.cpp index 7faab0b1bc..379b4189ce 100644 --- a/qmake/generators/win32/msvc_vcproj.cpp +++ b/qmake/generators/win32/msvc_vcproj.cpp @@ -1688,22 +1688,6 @@ bool VcprojGenerator::openOutput(QFile &file, const QString &/*build*/) const return Win32MakefileGenerator::openOutput(file, QString()); } -QString VcprojGenerator::fixFilename(QString ofile) const -{ - ofile = Option::fixPathToLocalOS(ofile); - int slashfind = ofile.lastIndexOf(Option::dir_sep); - if(slashfind == -1) { - ofile.replace('-', '_'); - } else { - int hyphenfind = ofile.indexOf('-', slashfind); - while (hyphenfind != -1 && slashfind < hyphenfind) { - ofile.replace(hyphenfind, 1, '_'); - hyphenfind = ofile.indexOf('-', hyphenfind + 1); - } - } - return ofile; -} - void VcprojGenerator::outputVariables() { #if 0 diff --git a/qmake/generators/win32/msvc_vcproj.h b/qmake/generators/win32/msvc_vcproj.h index 2870534835..4567a90635 100644 --- a/qmake/generators/win32/msvc_vcproj.h +++ b/qmake/generators/win32/msvc_vcproj.h @@ -85,7 +85,6 @@ protected: virtual bool openOutput(QFile &file, const QString &build) const; virtual void outputVariables(); - QString fixFilename(QString ofile) const; void initOld(); virtual void initProject(); |