forked from qt-creator/qt-creator
Maemo: Add watcher for project files.
Reviewed-by: kh1
This commit is contained in:
@@ -71,12 +71,9 @@ MaemoPackageCreationWidget::MaemoPackageCreationWidget(MaemoPackageCreationStep
|
||||
m_ui->patch->setValue(list.value(2, QLatin1String("0")).toInt());
|
||||
versionInfoChanged();
|
||||
|
||||
if (step->deployables()->modelCount() > 0) {
|
||||
handleModelsCreated();
|
||||
} else {
|
||||
connect(m_step->deployables(), SIGNAL(modelsCreated()), this,
|
||||
SLOT(handleModelsCreated()));
|
||||
}
|
||||
connect(m_step->deployables(), SIGNAL(modelsCreated()), this,
|
||||
SLOT(handleModelsCreated()));
|
||||
handleModelsCreated();
|
||||
}
|
||||
|
||||
void MaemoPackageCreationWidget::init()
|
||||
@@ -107,6 +104,7 @@ void MaemoPackageCreationWidget::versionInfoChanged()
|
||||
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user