summary refs log tree commit diff
path: root/src/timeline/TimelineViewManager.h
diff options
context:
space:
mode:
authorCH Chethan Reddy <40890937+Chethan2k1@users.noreply.github.com>2020-06-23 23:29:00 +0530
committerCH Chethan Reddy <40890937+Chethan2k1@users.noreply.github.com>2020-07-30 22:10:27 +0530
commitd49ab156569f4f963a2306ff8074b6a22f28a31c (patch)
tree056616bbbb67febeb97c661d7745e1792e7981e1 /src/timeline/TimelineViewManager.h
parentAdd some more slots and mac (diff)
downloadnheko-d49ab156569f4f963a2306ff8074b6a22f28a31c.tar.xz
Some Improvements
    - DeviceVerificationList change to LinkedList to improve time
    complexity while deleting
    - Downgrade the flow to not use key.verification.done and
    key.verification.ready
Diffstat (limited to 'src/timeline/TimelineViewManager.h')
-rw-r--r--src/timeline/TimelineViewManager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/timeline/TimelineViewManager.h b/src/timeline/TimelineViewManager.h

index 946461f9..8af6d137 100644 --- a/src/timeline/TimelineViewManager.h +++ b/src/timeline/TimelineViewManager.h
@@ -1,6 +1,7 @@ #pragma once #include <QHash> +#include <QLinkedList> #include <QQuickView> #include <QQuickWidget> #include <QSharedPointer> @@ -31,7 +32,7 @@ public: Q_INVOKABLE bool exist(QString tran_id); private: - QVector<QString> dv_list; + QLinkedList<QString> dv_list; }; class TimelineViewManager : public QObject