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:
Christian Kandeler
2015-09-01 17:02:48 +02:00
parent d11fc7bd72
commit ccd781ed7c

View File

@@ -366,6 +366,7 @@ Utils::FileName Project::projectDirectory(const Utils::FileName &top)
Project::RestoreResult Project::fromMap(const QVariantMap &map, QString *errorMessage) Project::RestoreResult Project::fromMap(const QVariantMap &map, QString *errorMessage)
{ {
Q_UNUSED(errorMessage);
if (map.contains(QLatin1String(EDITOR_SETTINGS_KEY))) { if (map.contains(QLatin1String(EDITOR_SETTINGS_KEY))) {
QVariantMap values(map.value(QLatin1String(EDITOR_SETTINGS_KEY)).toMap()); QVariantMap values(map.value(QLatin1String(EDITOR_SETTINGS_KEY)).toMap());
d->m_editorConfiguration.fromMap(values); d->m_editorConfiguration.fromMap(values);