From 744eb55df267ab7c59b2a44b818002a4543a1a60 Mon Sep 17 00:00:00 2001
From: dt <qtc-committer@nokia.com>
Date: Thu, 17 Sep 2009 15:34:50 +0200
Subject: [PATCH] Remove unneded qtDir() function in DebuggingHelper

---
 src/plugins/projectexplorer/debugginghelper.cpp | 7 -------
 src/plugins/projectexplorer/debugginghelper.h   | 1 -
 2 files changed, 8 deletions(-)

diff --git a/src/plugins/projectexplorer/debugginghelper.cpp b/src/plugins/projectexplorer/debugginghelper.cpp
index a97125d705a..34ece5fc55d 100644
--- a/src/plugins/projectexplorer/debugginghelper.cpp
+++ b/src/plugins/projectexplorer/debugginghelper.cpp
@@ -93,13 +93,6 @@ QString DebuggingHelperLibrary::qtInstallDataDir(const QString &qmakePath)
     return QString::null;
 }
 
-QString DebuggingHelperLibrary::qtDir(const QString &qmakePath)
-{
-    QDir dir = QFileInfo(qmakePath).absoluteDir();
-    dir.cdUp();
-    return dir.absolutePath();
-}
-
 // Debugging Helper Library
 
 static inline QString helperFilePath(const QString &directory)
diff --git a/src/plugins/projectexplorer/debugginghelper.h b/src/plugins/projectexplorer/debugginghelper.h
index 03b67037d07..bd09376eee2 100644
--- a/src/plugins/projectexplorer/debugginghelper.h
+++ b/src/plugins/projectexplorer/debugginghelper.h
@@ -66,7 +66,6 @@ public:
 private:
     static QStringList debuggingHelperLibraryDirectories(const QString &qtInstallData);
     static QString qtInstallDataDir(const QString &qmakePath);
-    static QString qtDir(const QString &qmakePath);
 };
 }
 
-- 
GitLab