aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/deployablefile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/projectexplorer/deployablefile.cpp')
-rw-r--r--src/plugins/projectexplorer/deployablefile.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/deployablefile.cpp b/src/plugins/projectexplorer/deployablefile.cpp
index d83ace4ab2..f9f893952d 100644
--- a/src/plugins/projectexplorer/deployablefile.cpp
+++ b/src/plugins/projectexplorer/deployablefile.cpp
@@ -30,7 +30,8 @@
#include "deployablefile.h"
-#include <QFileInfo>
+#include <utils/fileutils.h>
+
#include <QHash>
using namespace Utils;
@@ -55,7 +56,7 @@ DeployableFile::DeployableFile(const FileName &localFilePath, const QString &rem
QString DeployableFile::remoteFilePath() const
{
return m_remoteDir.isEmpty()
- ? QString() : m_remoteDir + QLatin1Char('/') + m_localFilePath.toFileInfo().fileName();
+ ? QString() : m_remoteDir + QLatin1Char('/') + m_localFilePath.fileName();
}
bool DeployableFile::isValid() const