From 32877328735ffd531ab5018b926d346722aa279b Mon Sep 17 00:00:00 2001 From: Daniel Teske Date: Wed, 24 Aug 2011 12:04:33 +0200 Subject: [PATCH] Compile Change-Id: If1e0fe61ea873cf9ae6715a4758170acb97cdc21 Reviewed-on: http://codereview.qt.nokia.com/3479 Reviewed-by: Daniel Teske --- src/plugins/projectexplorer/projectexplorer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index a910e789a96..9cfd6bd97ef 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -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()) {