From f32e74c2a78ae2fea6c1f825900287202778bf59 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Tue, 12 Jan 2021 20:34:02 +0100 Subject: Allow extended selection in log list and implement copy. --- src/loglist.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/loglist.h') diff --git a/src/loglist.h b/src/loglist.h index 0745ed3e..d502f193 100644 --- a/src/loglist.h +++ b/src/loglist.h @@ -22,6 +22,7 @@ along with Mod Organizer. If not, see . #include "shared/appconfig.h" +#include "copyeventfilter.h" #include #include #include @@ -41,6 +42,8 @@ public: const std::deque& entries() const; + QString formattedMessage(const QModelIndex& index) const; + protected: QModelIndex index(int row, int column, const QModelIndex& parent) const override; QModelIndex parent(const QModelIndex &child) const override; @@ -77,6 +80,7 @@ public: private: OrganizerCore* m_core; QTimer m_timer; + CopyEventFilter m_copyFilter; void onContextMenu(const QPoint& pos); void onNewEntry(); -- cgit v1.3.1