forked from qt-creator/qt-creator
ProjectExplorer: Fix warning about unsed parameter.
Project::fromMap() does not fail anymore, and thus the errorMessage parameter is unused. Change-Id: Icc73a4b5725ea37e5ba14263ac3bd30eedf4cf64 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
@@ -366,6 +366,7 @@ Utils::FileName Project::projectDirectory(const Utils::FileName &top)
|
||||
|
||||
Project::RestoreResult Project::fromMap(const QVariantMap &map, QString *errorMessage)
|
||||
{
|
||||
Q_UNUSED(errorMessage);
|
||||
if (map.contains(QLatin1String(EDITOR_SETTINGS_KEY))) {
|
||||
QVariantMap values(map.value(QLatin1String(EDITOR_SETTINGS_KEY)).toMap());
|
||||
d->m_editorConfiguration.fromMap(values);
|
||||
|
||||
Reference in New Issue
Block a user