From 054903284b0f4771df121bdc4615b2079b5a9042 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Sat, 14 Sep 2019 07:06:50 +0800 Subject: Isolate ticket struct header inclusion from task list header --- tasklist.cxx | 1 + tasklist.hxx | 3 +-- 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 -#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 -- cgit v1.2.3