forked from qt-creator/qt-creator
Maemo: Move INSTALLS information from package step to deploy step.
... because the files are installed even when packaging is disabled. Reviewed-by: kh1
This commit is contained in:
@@ -42,11 +42,7 @@
|
||||
#include "maemopackagecreationwidget.h"
|
||||
#include "ui_maemopackagecreationwidget.h"
|
||||
|
||||
#include "maemodeployablelistmodel.h"
|
||||
#include "maemodeployablelistwidget.h"
|
||||
#include "maemodeployables.h"
|
||||
#include "maemopackagecreationstep.h"
|
||||
#include "maemotoolchain.h"
|
||||
|
||||
#include <utils/qtcassert.h>
|
||||
#include <projectexplorer/project.h>
|
||||
@@ -70,10 +66,6 @@ MaemoPackageCreationWidget::MaemoPackageCreationWidget(MaemoPackageCreationStep
|
||||
m_ui->minor->setValue(list.value(1, QLatin1String("0")).toInt());
|
||||
m_ui->patch->setValue(list.value(2, QLatin1String("0")).toInt());
|
||||
versionInfoChanged();
|
||||
|
||||
connect(m_step->deployables(), SIGNAL(modelsCreated()), this,
|
||||
SLOT(handleModelsCreated()));
|
||||
handleModelsCreated();
|
||||
}
|
||||
|
||||
void MaemoPackageCreationWidget::init()
|
||||
@@ -105,16 +97,5 @@ void MaemoPackageCreationWidget::versionInfoChanged()
|
||||
emit updateSummary();
|
||||
}
|
||||
|
||||
void MaemoPackageCreationWidget::handleModelsCreated()
|
||||
{
|
||||
m_ui->tabWidget->clear();
|
||||
for (int i = 0; i < m_step->deployables()->modelCount(); ++i) {
|
||||
MaemoDeployableListModel * const model
|
||||
= m_step->deployables()->modelAt(i);
|
||||
m_ui->tabWidget->addTab(new MaemoDeployableListWidget(this, model),
|
||||
model->projectName());
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Qt4ProjectManager
|
||||
|
||||
Reference in New Issue
Block a user