summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2011-02-24 17:25:24 +0100
committerTobias Hunger <tobias.hunger@nokia.com>2011-02-24 17:54:09 +0100
commitb37cafc6269acf869b88249f1125d4aa25269cac (patch)
treeff21485b9b78407c635bed2d380316d0a3a9748c
parent4792715f205036f94b61aba3c582c0cff0d722bf (diff)
downloadqt-creator-b37cafc6269acf869b88249f1125d4aa25269cac.tar.gz
Symbian: Remove some dead code
-rw-r--r--src/plugins/qt4projectmanager/qt-s60/s60devices.cpp15
-rw-r--r--src/plugins/qt4projectmanager/qt-s60/s60devices.h2
2 files changed, 0 insertions, 17 deletions
diff --git a/src/plugins/qt4projectmanager/qt-s60/s60devices.cpp b/src/plugins/qt4projectmanager/qt-s60/s60devices.cpp
index 1c80ff002d..e0c65a8051 100644
--- a/src/plugins/qt4projectmanager/qt-s60/s60devices.cpp
+++ b/src/plugins/qt4projectmanager/qt-s60/s60devices.cpp
@@ -186,21 +186,6 @@ S60Devices::Device S60Devices::defaultDevice() const
return index == -1 ? Device() : m_devices.at(index);
}
-QString S60Devices::cleanedRootPath(const QString &deviceRoot)
-{
- QString path = deviceRoot;
-#ifdef Q_OS_WIN
- // sbsv2 actually recommends having the DK on a separate drive...
- // But qmake breaks when doing that!
- if (path.size() > 1 && path.at(1) == QChar(':'))
- path = path.mid(2);
-#endif
-
- if (!path.size() || path.at(path.size()-1) != '/')
- path.append('/');
- return path;
-}
-
S60Devices::StringStringPairList S60Devices::readSdkQtAssociationSettings(const QSettings *settings,
const QString &group,
int *defaultIndexPtr)
diff --git a/src/plugins/qt4projectmanager/qt-s60/s60devices.h b/src/plugins/qt4projectmanager/qt-s60/s60devices.h
index 80623c65c2..6ebd29245a 100644
--- a/src/plugins/qt4projectmanager/qt-s60/s60devices.h
+++ b/src/plugins/qt4projectmanager/qt-s60/s60devices.h
@@ -82,8 +82,6 @@ public:
int findByEpocRoot(const QString &er) const;
- static QString cleanedRootPath(const QString &deviceRoot);
-
signals:
void qtVersionsChanged();