forked from qt-creator/qt-creator
Replace QFileInfo::fileName() with FileName::fileName()
Change-Id: I4852ff215abf25649fc5eac1e922ae901839ca3d Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user