From 2255d58a5459a481743868070496ea76fe8b758b 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: Tue, 1 Oct 2019 17:30:07 +0800 Subject: Ticket history created time real data --- controller.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'controller.cxx') diff --git a/controller.cxx b/controller.cxx index 5c59906..e7395d3 100644 --- a/controller.cxx +++ b/controller.cxx @@ -82,12 +82,13 @@ Controller::Controller(QObject* parent) auto history = list->histories[list->length - 1]; QMetaObject::invokeMethod(appWindow, "ticketHistory" , Q_ARG(QVariant, m_ticketSubject) - , Q_ARG(QVariant - , QString{history->description}) , Q_ARG(QVariant , QString{history->content}) , Q_ARG(QVariant - , QString{history->creator})); + , QString{history->creator}) + , Q_ARG(QVariant + , QString{asctime(history + ->created)})); }); connect(appWindow, SIGNAL(ticketNew(QString, QString)) -- cgit v1.2.3