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:
@@ -58,6 +58,8 @@
|
||||
#include <projectexplorer/session.h>
|
||||
#include <projectexplorer/target.h>
|
||||
#include <qtsupport/qtsupportconstants.h>
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include <QAction>
|
||||
@@ -286,7 +288,7 @@ void QbsProjectManagerPlugin::updateBuildActions()
|
||||
&& !BuildManager::isBuilding(m_editorProject)
|
||||
&& !m_editorProject->isParsing();
|
||||
|
||||
fileName = QFileInfo(m_editorNode->path()).fileName();
|
||||
fileName = Utils::FileName::fromString(m_editorNode->path()).fileName();
|
||||
fileVisible = m_editorProject && m_editorNode && dynamic_cast<QbsBaseProjectNode *>(m_editorNode->projectNode());
|
||||
|
||||
QbsProductNode *productNode
|
||||
|
||||
Reference in New Issue
Block a user