forked from qt-creator/qt-creator
AndroidManager: Remove more unused code missed earlier
Change-Id: Idbe281a55fd6a30b258686f7d384a9a8d5088ed1 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -89,7 +89,6 @@ public:
|
||||
typedef QMap<QString, Library> LibrariesMap;
|
||||
|
||||
static bool openXmlFile(QDomDocument &doc, const Utils::FileName &fileName);
|
||||
static bool saveXmlFile(QDomDocument &doc, const Utils::FileName &fileName);
|
||||
static bool openManifest(ProjectExplorer::Target *target, QDomDocument &doc);
|
||||
static QStringList libsXml(ProjectExplorer::Target *target, const QString &tag);
|
||||
|
||||
@@ -437,16 +436,6 @@ static bool openXmlFile(QDomDocument &doc, const Utils::FileName &fileName)
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool saveXmlFile(QDomDocument &doc, const Utils::FileName &fileName)
|
||||
{
|
||||
QFile f(fileName.toString());
|
||||
if (!f.open(QIODevice::WriteOnly)) {
|
||||
raiseError(AndroidManager::tr("Cannot open \"%1\".").arg(fileName.toUserOutput()));
|
||||
return false;
|
||||
}
|
||||
return f.write(doc.toByteArray(4)) >= 0;
|
||||
}
|
||||
|
||||
static bool openManifest(ProjectExplorer::Target *target, QDomDocument &doc)
|
||||
{
|
||||
return openXmlFile(doc, AndroidManager::manifestPath(target));
|
||||
|
Reference in New Issue
Block a user