QmakePM: Remove wrong argument

Second argument is fileName, not message.
This was wrongfully left there in 
88a4421a84

Change-Id: I140fc9921d07df0d4214b54abcc0733aa0a60f4b
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2014-11-10 22:26:54 +02:00
committed by Orgad Shaneh
parent 081bf51848
commit 4cfa58638e

View File

@@ -1142,11 +1142,9 @@ bool QmakePriFileNode::saveModifiedEditors()
if (!document || !document->isModified()) if (!document || !document->isModified())
return true; return true;
if (!Core::DocumentManager::saveDocument(document, if (!Core::DocumentManager::saveDocument(document))
tr("There are unsaved changes for project file %1.")
.arg(m_projectFilePath))) {
return false; return false;
}
// force instant reload of ourselves // force instant reload of ourselves
QtSupport::ProFileCacheManager::instance()->discardFile(m_projectFilePath); QtSupport::ProFileCacheManager::instance()->discardFile(m_projectFilePath);
m_project->qmakeProjectManager()->notifyChanged(m_projectFilePath); m_project->qmakeProjectManager()->notifyChanged(m_projectFilePath);