Commit 32877328 authored by Daniel Teske's avatar Daniel Teske
Browse files


Change-Id: If1e0fe61ea873cf9ae6715a4758170acb97cdc21

Reviewed-by: default avatarDaniel Teske <>
parent 2029199f
......@@ -1319,7 +1319,7 @@ void ProjectExplorerPlugin::currentModeChanged(Core::IMode *mode, Core::IMode *o
void ProjectExplorerPlugin::determineSessionToRestoreAtStartup()
// Process command line arguments first:
if (pluginSpec()->arguments.contains("-lastsession"))
if (pluginSpec()->arguments().contains("-lastsession"))
d->m_sessionToRestoreAtStartup = d->m_session->lastSession();
QStringList arguments = ExtensionSystem::PluginManager::instance()->arguments();
if (d->m_sessionToRestoreAtStartup.isNull()) {
Supports Markdown
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