forked from qt-creator/qt-creator
Utils: Remove superfluous qualifications
Change-Id: I36e17dac0cff87f82f0ddaf97bc613389110f218 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
Tobias Hunger
parent
9f8dbc1d2f
commit
7cee991c70
@@ -396,7 +396,7 @@ void MacroExpander::registerFileVariables(const QByteArray &prefix,
|
||||
|
||||
registerVariable(prefix + kFileNamePostfix,
|
||||
tr("%1: File name without path.").arg(heading),
|
||||
[base]() -> QString { QString tmp = base(); return tmp.isEmpty() ? QString() : Utils::FileName::fromString(tmp).fileName(); },
|
||||
[base]() -> QString { QString tmp = base(); return tmp.isEmpty() ? QString() : FileName::fromString(tmp).fileName(); },
|
||||
visibleInChooser);
|
||||
|
||||
registerVariable(prefix + kFileBaseNamePostfix,
|
||||
|
||||
Reference in New Issue
Block a user