Commit ad903824 authored by Daniel Teske's avatar Daniel Teske

Android: Remove "Edit rules.xml" button

It serves no pratical purpose.

Change-Id: I65494ca6be14c96baa6bad521f11e130edfc614a
Reviewed-by: default avatarBogDan Vatra <bogdan@kde.org>
parent 7b30f3ea
......@@ -263,14 +263,6 @@ int AndroidDeployStep::deviceAPILevel()
return m_deviceAPILevel;
}
Utils::FileName AndroidDeployStep::localLibsRulesFilePath()
{
Utils::FileName fileName = AndroidManager::localLibsRulesFilePath(target());
fileName.append(QLatin1String("/rules.xml"));
return fileName;
}
unsigned int AndroidDeployStep::remoteModificationTime(const QString &fullDestination, QHash<QString, unsigned int> *cache)
{
QString destination = QFileInfo(fullDestination).absolutePath();
......
......@@ -87,7 +87,6 @@ public:
QString deviceSerialNumber();
int deviceAPILevel();
Utils::FileName localLibsRulesFilePath();
AndroidDeployAction deployAction();
bool useLocalQtLibs();
......
......@@ -62,7 +62,6 @@ AndroidDeployStepWidget::AndroidDeployStepWidget(AndroidDeployStep *step) :
connect(ui->deployQtLibs, SIGNAL(clicked()), SLOT(setDeployLocalQtLibs()));
connect(ui->chooseButton, SIGNAL(clicked()), SLOT(setQASIPackagePath()));
connect(ui->useLocalQtLibs, SIGNAL(stateChanged(int)), SLOT(useLocalQtLibsStateChanged(int)));
connect(ui->editRulesFilePushButton, SIGNAL(clicked()), SLOT(editRulesFile()));
connect(ui->cleanLibsPushButton, SIGNAL(clicked()), SLOT(cleanLibsOnDevice()));
}
......@@ -106,11 +105,6 @@ void AndroidDeployStepWidget::useLocalQtLibsStateChanged(int state)
m_step->setUseLocalQtLibs(state == Qt::Checked);
}
void AndroidDeployStepWidget::editRulesFile()
{
Core::ICore::instance()->openFiles(QStringList() << m_step->localLibsRulesFilePath().toString(), Core::ICore::SwitchMode);
}
void AndroidDeployStepWidget::cleanLibsOnDevice()
{
m_step->cleanLibsOnDevice();
......
......@@ -53,7 +53,6 @@ private slots:
void setDeployLocalQtLibs();
void setQASIPackagePath();
void useLocalQtLibsStateChanged(int);
void editRulesFile();
void cleanLibsOnDevice();
private:
......
......@@ -63,13 +63,6 @@ You must have Qt libraries compiled for that platform</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="editRulesFilePushButton">
<property name="text">
<string>Edit Rules File</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="0">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment