summaryrefslogtreecommitdiff
path: root/src/plugins/bookmarks/bookmark.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/bookmarks/bookmark.cpp')
-rw-r--r--src/plugins/bookmarks/bookmark.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/bookmarks/bookmark.cpp b/src/plugins/bookmarks/bookmark.cpp
index cf591035d7..1e5d0d2c0d 100644
--- a/src/plugins/bookmarks/bookmark.cpp
+++ b/src/plugins/bookmarks/bookmark.cpp
@@ -37,7 +37,7 @@ using namespace Bookmarks::Internal;
using namespace Utils;
Bookmark::Bookmark(int lineNumber, BookmarkManager *manager) :
- TextMark(FileName(), lineNumber, Constants::BOOKMARKS_TEXT_MARK_CATEGORY),
+ TextMark(FilePath(), lineNumber, Constants::BOOKMARKS_TEXT_MARK_CATEGORY),
m_manager(manager)
{
setColor(Utils::Theme::Bookmarks_TextMarkColor);
@@ -87,9 +87,9 @@ void Bookmark::updateBlock(const QTextBlock &block)
}
}
-void Bookmark::updateFileName(const FileName &fileName)
+void Bookmark::updateFileName(const FilePath &fileName)
{
- const FileName &oldFileName = this->fileName();
+ const FilePath &oldFileName = this->fileName();
TextMark::updateFileName(fileName);
m_manager->updateBookmarkFileName(this, oldFileName.toString());
}