forked from qt-creator/qt-creator
ProjectExplorer: Proliferate FilePath
DeployableFile and fallout. Change-Id: I9a9c56e4a4ebf8f68df70d65da2e699efedfe907 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -66,7 +66,7 @@ QString QmlPreviewFileOnTargetFinder::findPath(const QString &filePath, bool *su
|
||||
return filePath;
|
||||
|
||||
ProjectExplorer::DeployableFile file
|
||||
= m_target->deploymentData().deployableForLocalFile(filePath);
|
||||
= m_target->deploymentData().deployableForLocalFile(Utils::FilePath::fromString(filePath));
|
||||
if (file.isValid())
|
||||
return file.remoteFilePath();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user