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/bookmarks/bookmarkmanager.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/bookmarks/bookmarkmanager.cpp')
-rw-r--r-- | src/plugins/bookmarks/bookmarkmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/bookmarks/bookmarkmanager.cpp b/src/plugins/bookmarks/bookmarkmanager.cpp index 43dd21b83e..c81a9aed98 100644 --- a/src/plugins/bookmarks/bookmarkmanager.cpp +++ b/src/plugins/bookmarks/bookmarkmanager.cpp @@ -388,7 +388,7 @@ QVariant BookmarkManager::data(const QModelIndex &index, int role) const Bookmark *bookMark = m_bookmarksList.at(index.row()); if (role == BookmarkManager::Filename) - return QFileInfo(bookMark->fileName()).fileName(); + return FileName::fromString(bookMark->fileName()).fileName(); if (role == BookmarkManager::LineNumber) return bookMark->lineNumber(); if (role == BookmarkManager::Directory) |