diff --git a/projectmanagers/custommake/makefileresolver/makefileresolver.cpp b/projectmanagers/custommake/makefileresolver/makefileresolver.cpp --- a/projectmanagers/custommake/makefileresolver/makefileresolver.cpp +++ b/projectmanagers/custommake/makefileresolver/makefileresolver.cpp @@ -171,7 +171,6 @@ explicit SourcePathInformation(const QString& path) : m_path(path) , m_isUnsermake(false) - , m_shouldTouchFiles(false) { m_isUnsermake = isUnsermakePrivate(path); @@ -183,12 +182,6 @@ return m_isUnsermake; } - ///When this is set, the file-modification times are changed no matter whether it is unsermake or make - void setShouldTouchFiles(bool b) - { - m_shouldTouchFiles = b; - } - QString getCommand(const QString& absoluteFile, const QString& workingDirectory, const QString& makeParameters) const { if (isUnsermake()) { @@ -207,7 +200,7 @@ bool shouldTouchFiles() const { - return isUnsermake() || m_shouldTouchFiles; + return isUnsermake(); } QStringList possibleTargets(const QString& targetBaseName) const @@ -246,7 +239,6 @@ QString m_path; bool m_isUnsermake; - bool m_shouldTouchFiles; }; static void mergePaths(KDevelop::Path::List& destList, const KDevelop::Path::List& srcList) @@ -483,8 +475,6 @@ SourcePathInformation source(wd); QStringList possibleTargets = source.possibleTargets(targetName); - source.setShouldTouchFiles(true); //Think about whether this should be always enabled. I've enabled it for now so there's an even bigger chance that everything works. - ///STEP 3: Try resolving the paths, by using once the absolute and once the relative file-path. Which kind is required differs from setup to setup. ///STEP 3.1: Try resolution using the absolute path