Commit 9385fc12 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Maemo: Fix recursive directory removal.

It's not an error if the directory does not exist.
parent 3488b044
......@@ -78,6 +78,8 @@ QString MaemoGlobal::remoteEnvironment(const QList<Utils::EnvironmentItem> &list
bool MaemoGlobal::removeRecursively(const QString &filePath, QString &error)
QFileInfo fileInfo(filePath);
if (!fileInfo.exists())
return true;
if (fileInfo.isDir()) {
QDir dir(filePath);
QStringList fileNames = dir.entryList(QDir::Files | QDir::Hidden
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