Commit ccd781ed authored by Christian Kandeler's avatar Christian Kandeler
Browse files

ProjectExplorer: Fix warning about unsed parameter.



Project::fromMap() does not fail anymore, and thus the errorMessage
parameter is unused.

Change-Id: Icc73a4b5725ea37e5ba14263ac3bd30eedf4cf64
Reviewed-by: default avatarDaniel Teske <daniel.teske@theqtcompany.com>
parent d11fc7bd
......@@ -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);
......
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