forked from qt-creator/qt-creator
Maemo: Tell file manager not to bother the user with expected updates.
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include "maemoconstants.h"
|
||||
#include "maemodeviceconfigurations.h"
|
||||
|
||||
#include <coreplugin/filemanager.h>
|
||||
#include <coreplugin/ssh/sshconnection.h>
|
||||
#include <qt4projectmanager/qtversionmanager.h>
|
||||
#include <utils/environment.h>
|
||||
@@ -212,5 +213,16 @@ bool MaemoGlobal::callMaddeShellScript(QProcess &proc, const QString &maddeRoot,
|
||||
return true;
|
||||
}
|
||||
|
||||
MaemoGlobal::FileUpdate::FileUpdate(const QString &fileName)
|
||||
: m_fileName(fileName)
|
||||
{
|
||||
Core::FileManager::instance()->expectFileChange(fileName);
|
||||
}
|
||||
|
||||
MaemoGlobal::FileUpdate::~FileUpdate()
|
||||
{
|
||||
Core::FileManager::instance()->unexpectFileChange(m_fileName);
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Qt4ProjectManager
|
||||
|
||||
Reference in New Issue
Block a user