Commit bb648802 authored by Daniel Teske's avatar Daniel Teske

Bookmark: Remove unused member m_fileInfo

Change-Id: Ic39bac854f4ca99ee342578262f9fd28baaf85fa
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 71466f53
......@@ -41,11 +41,11 @@ using namespace Bookmarks::Internal;
Bookmark::Bookmark(const QString& fileName, int lineNumber, BookmarkManager *manager) :
BaseTextMark(fileName, lineNumber),
m_manager(manager),
m_fileInfo(fileName),
m_fileName(fileName),
m_onlyFile(m_fileInfo.fileName()),
m_path(m_fileInfo.path())
m_fileName(fileName)
{
QFileInfo fi(fileName);
m_onlyFile = fi.fileName();
m_path = fi.path();
setPriority(TextEditor::ITextMark::NormalPriority);
setIcon(m_manager->bookmarkIcon());
}
......
......@@ -63,7 +63,6 @@ public:
private:
BookmarkManager *m_manager;
const QFileInfo m_fileInfo;
const QString m_fileName;
const QString m_onlyFile;
const QString m_path;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment