diff options
| author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-01 17:30:07 +0800 |
|---|---|---|
| committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-01 17:30:07 +0800 |
| commit | 2255d58a5459a481743868070496ea76fe8b758b (patch) | |
| tree | 81f824e560aa98a52ed6a4956a01ba4e162a5e65 /controller.cxx | |
| parent | d79cec3e7cdaf00f53c0d7c0c3c6b2f039a05a5d (diff) | |
Ticket history created time real data
Diffstat (limited to 'controller.cxx')
| -rw-r--r-- | controller.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/controller.cxx b/controller.cxx index 5c59906..e7395d3 100644 --- a/controller.cxx +++ b/controller.cxx @@ -83,11 +83,12 @@ Controller::Controller(QObject* parent) 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)) |