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,10 +30,10 @@
|
||||
|
||||
#include "processparameters.h"
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
#include <utils/macroexpander.h>
|
||||
#include <utils/qtcprocess.h>
|
||||
|
||||
#include <QFileInfo>
|
||||
#include <QDir>
|
||||
|
||||
/*!
|
||||
@@ -163,7 +163,7 @@ QString ProcessParameters::prettyCommand() const
|
||||
QString cmd = m_command;
|
||||
if (m_macroExpander)
|
||||
cmd = m_macroExpander->expand(cmd);
|
||||
return QFileInfo(cmd).fileName();
|
||||
return Utils::FileName::fromString(cmd).fileName();
|
||||
}
|
||||
|
||||
QString ProcessParameters::prettyArguments() const
|
||||
|
||||
Reference in New Issue
Block a user