If the cert file for Symbian is defined the initial location of key file is the cert's folder

This commit is contained in:
Pawel Polanski
2010-12-06 11:58:29 +01:00
parent 95117681d8
commit d6d830f593

View File

@@ -816,9 +816,10 @@ void S60CreatePackageStepConfigWidget::signatureChanged(QString certFile)
files = directory.entryList(QStringList(keys),
QDir::Files | QDir::NoSymLinks);
m_ui.keyFilePath->setPath(files.isEmpty()?
QString():
directory.filePath(files[0]));
if (files.isEmpty())
m_ui.keyFilePath->setInitialBrowsePathBackup(certFileInfo.path());
else
m_ui.keyFilePath->setPath(directory.filePath(files[0]));
}
updateFromUi();
}