Use Core::FileChangeBlocker

Remove class that does something similar.

Reviewed-by: Christian Kandeler
Change-Id: I7acfa119cf18d96c22d1873a464b1c004c78e132
This commit is contained in:
Tobias Hunger
2011-05-04 16:20:47 +02:00
parent 72e01313b6
commit 4f146f6587
4 changed files with 6 additions and 23 deletions

View File

@@ -36,6 +36,7 @@
#include "qt4maemotarget.h"
#include <coreplugin/icore.h>
#include <coreplugin/filemanager.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/session.h>
#include <qt4projectmanager/qt4buildconfiguration.h>
@@ -299,7 +300,7 @@ QString MaemoDeployableListModel::remoteIconFilePath() const
bool MaemoDeployableListModel::addLinesToProFile(const QStringList &lines)
{
MaemoGlobal::FileUpdate update(m_proFilePath);
Core::FileChangeBlocker update(m_proFilePath);
const QLatin1String separator("\n ");
const QString proFileString = QString(QLatin1Char('\n') + proFileScope()