summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-14 07:06:50 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-14 07:06:50 +0800
commit054903284b0f4771df121bdc4615b2079b5a9042 (patch)
tree3a22bf03570e2467ba2a0c083e760432e72ddfb5
parentdb6374681a2bc35671fa0c25fc740888a869ccd4 (diff)
Isolate ticket struct header inclusion from task list header
-rw-r--r--tasklist.cxx1
-rw-r--r--tasklist.hxx3
2 files changed, 2 insertions, 2 deletions
diff --git a/tasklist.cxx b/tasklist.cxx
index 863ae23..6bc7c4b 100644
--- a/tasklist.cxx
+++ b/tasklist.cxx
@@ -1,3 +1,4 @@
+#include "rtticket.h"
#include "tasklist.hxx"
int TaskList::rowCount(QModelIndex const& parent) const
diff --git a/tasklist.hxx b/tasklist.hxx
index feac343..20b2220 100644
--- a/tasklist.hxx
+++ b/tasklist.hxx
@@ -2,7 +2,6 @@
#define TASKLIST_HXX
#include <QAbstractListModel>
-#include "rtticket.h"
class Task
{
@@ -43,7 +42,7 @@ class TaskList : public QAbstractListModel
void addTask(Task const& task);
private slots:
- void addTasks(rt_ticketlist* taskList);
+ void addTasks(struct rt_ticketlist* taskList);
};
#endif // TASKLIST_HXX