config->apply(source_);
delete config;
- Source::SearchType type;
-
- switch(details.type)
- {
- case 0:
- type = Source::PERSONS;
- break;
- case 1:
- type = Source::YELLOW_PAGES;
- break;
- default:
- qDebug() << "Unknown search type: " << details.type;
- return;
- }
-
show();
setAttribute(Qt::WA_Maemo5ShowProgressIndicator, true);
connectionManager_->connect();
source_->abort();
- source_->search(Source::SearchDetails(details.name, details.location, type));
+ source_->search(Source::SearchDetails(details.name, details.location, details.type));
}