forked from qt-creator/qt-creator
BookmarkManager: Remove unused method
Change-Id: I2ae8764bbbbde20e027169564bebb329447f17ed Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
@@ -436,15 +436,6 @@ QMimeData *BookmarkManager::mimeData(const QModelIndexList &indexes) const
|
||||
return data;
|
||||
}
|
||||
|
||||
void BookmarkManager::toggleBookmark(bool)
|
||||
{
|
||||
IEditor *editor = EditorManager::currentEditor();
|
||||
if (!editor)
|
||||
return;
|
||||
|
||||
toggleBookmark(editor->document()->filePath().toString(), editor->currentLine());
|
||||
}
|
||||
|
||||
void BookmarkManager::toggleBookmark(const QString &fileName, int lineNumber)
|
||||
{
|
||||
if (lineNumber <= 0)
|
||||
|
@@ -95,7 +95,6 @@ public:
|
||||
|
||||
void handleBookmarkTooltipRequest(Core::IEditor *editor, const QPoint &pos, int line);
|
||||
|
||||
void toggleBookmark(bool);
|
||||
void toggleBookmark(const QString &fileName, int lineNumber);
|
||||
void nextInDocument();
|
||||
void prevInDocument();
|
||||
|
Reference in New Issue
Block a user