summaryrefslogtreecommitdiff
path: root/src/entry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entry.cpp')
-rw-r--r--src/entry.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/entry.cpp b/src/entry.cpp
index 1082c1e..c95bbb0 100644
--- a/src/entry.cpp
+++ b/src/entry.cpp
@@ -1,3 +1,5 @@
+#include <QList>
+
#include "entry.h"
Entry::Entry(int id, int parent_id, QString desc, QDateTime due, QString due_alt, QUrl link, QString color, QString highlight, bool done, bool hidden) :
@@ -14,6 +16,8 @@ Entry::Entry(int id, int parent_id, QString desc, QDateTime due, QString due_alt
{
}
+QList<Entry> Entry::entries;
+
bool Entry::compare(Entry a, Entry b) {
// 1st level: sort not done before done
if(a.done != b.done)