Commit 584c8d41 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Madde: Only get values once they are needed



Change-Id: I5235df0110454d246b44e7d6e05b667be4fdb0bc
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parent d7202a5b
......@@ -162,16 +162,16 @@ void Qt4MaemoDeployConfiguration::setupDebianPackaging()
return;
Utils::FileName debianDir = DebianManager::debianDirectory(target());
Core::Id deviceType = ProjectExplorer::DeviceTypeProfileInformation::deviceTypeId(target()->profile());
DebianManager *dm = DebianManager::instance();
QString projectName = target()->project()->displayName();
DebianManager::ActionStatus status = DebianManager::createTemplate(bc, debianDir);
if (status == DebianManager::NoActionRequired ||
status == DebianManager::ActionFailed)
return;
Core::Id deviceType = ProjectExplorer::DeviceTypeProfileInformation::deviceTypeId(target()->profile());
DebianManager *dm = DebianManager::instance();
QString projectName = target()->project()->displayName();
if (!DebianManager::hasPackageManagerIcon(debianDir)) {
// Such a file is created by the mobile wizards.
Utils::FileName iconPath = Utils::FileName::fromString(target()->project()->projectDirectory());
......
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