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/vcsbase/vcsbaseeditor.cpp | |
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/vcsbase/vcsbaseeditor.cpp')
-rw-r--r-- | src/plugins/vcsbase/vcsbaseeditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/vcsbase/vcsbaseeditor.cpp b/src/plugins/vcsbase/vcsbaseeditor.cpp index b1cbac71b3..388bc829c2 100644 --- a/src/plugins/vcsbase/vcsbaseeditor.cpp +++ b/src/plugins/vcsbase/vcsbaseeditor.cpp @@ -851,7 +851,7 @@ void VcsBaseEditorWidget::slotPopulateDiffBrowser() lastFileName = file; // ignore any headers d->m_entrySections.push_back(d->m_entrySections.empty() ? 0 : lineNumber); - entriesComboBox->addItem(QFileInfo(file).fileName()); + entriesComboBox->addItem(Utils::FileName::fromString(file).fileName()); } } } |