Commit 32877328 authored by Daniel Teske's avatar Daniel Teske

Compile

Change-Id: If1e0fe61ea873cf9ae6715a4758170acb97cdc21
Reviewed-on: http://codereview.qt.nokia.com/3479Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
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()) {
......
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