summaryrefslogtreecommitdiff
path: root/MenuApplets/ClipboardHistory/ClipboardHistoryModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'MenuApplets/ClipboardHistory/ClipboardHistoryModel.h')
-rw-r--r--MenuApplets/ClipboardHistory/ClipboardHistoryModel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/MenuApplets/ClipboardHistory/ClipboardHistoryModel.h b/MenuApplets/ClipboardHistory/ClipboardHistoryModel.h
index e10ee6ac4e..6398f9c4de 100644
--- a/MenuApplets/ClipboardHistory/ClipboardHistoryModel.h
+++ b/MenuApplets/ClipboardHistory/ClipboardHistoryModel.h
@@ -45,6 +45,7 @@ public:
const GUI::Clipboard::DataAndType& item_at(int index) const { return m_history_items[index]; }
void add_item(const GUI::Clipboard::DataAndType& item);
+ void remove_item(int index);
private:
virtual int row_count(const GUI::ModelIndex&) const override { return m_history_items.size(); }