diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2015-01-10 23:40:32 +0200 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-01-29 11:15:43 +0000 |
commit | 8b5dcc13c539e755b67bfb6ae38553534c9b3d11 (patch) | |
tree | 6ece649b191598e412049646832a59ae096f850c /src/plugins/resourceeditor | |
parent | 6fd0d4ed339fe656bc68d7b31ba9d8e63955b12a (diff) | |
download | qt-creator-8b5dcc13c539e755b67bfb6ae38553534c9b3d11.tar.gz |
Replace QFileInfo::fileName() with FileName::fileName()
Change-Id: I4852ff215abf25649fc5eac1e922ae901839ca3d
Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/resourceeditor')
-rw-r--r-- | src/plugins/resourceeditor/resourcenode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/resourceeditor/resourcenode.cpp b/src/plugins/resourceeditor/resourcenode.cpp index b33a5cd0b7..0ddc6ff0bc 100644 --- a/src/plugins/resourceeditor/resourcenode.cpp +++ b/src/plugins/resourceeditor/resourcenode.cpp @@ -256,7 +256,7 @@ bool ResourceTopLevelNode::removePrefix(const QString &prefix, const QString &la ProjectExplorer::FolderNode::AddNewInformation ResourceTopLevelNode::addNewInformation(const QStringList &files, Node *context) const { QString name = QCoreApplication::translate("ResourceTopLevelNode", "%1 Prefix: %2") - .arg(QFileInfo(path()).fileName()) + .arg(Utils::FileName::fromString(path()).fileName()) .arg(QLatin1Char('/')); int p = -1; @@ -390,7 +390,7 @@ bool ResourceFolderNode::renamePrefix(const QString &prefix, const QString &lang ProjectExplorer::FolderNode::AddNewInformation ResourceFolderNode::addNewInformation(const QStringList &files, Node *context) const { QString name = QCoreApplication::translate("ResourceTopLevelNode", "%1 Prefix: %2") - .arg(QFileInfo(m_topLevelNode->path()).fileName()) + .arg(Utils::FileName::fromString(m_topLevelNode->path()).fileName()) .arg(displayName()); int p = -1; // never the default |