diff options
author | Toni Uhlig <Toni.Uhlig@tq-group.com> | 2017-11-28 17:26:15 +0100 |
---|---|---|
committer | Toni Uhlig <Toni.Uhlig@tq-group.com> | 2017-11-28 17:26:15 +0100 |
commit | 1b90d8a3c676d18fc7e939a9c1c63d45776d3fc6 (patch) | |
tree | 624ba81dec84b96153d84fd9bcd825a92d21f729 /src | |
parent | 421920a1a8f41fe3f53b23b999c25b3541f0f3a0 (diff) |
UpdateGUI: status log pretty printing
Diffstat (limited to 'src')
-rw-r--r-- | src/JobQueue.cpp | 2 | ||||
-rw-r--r-- | src/UpdateGUI.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/JobQueue.cpp b/src/JobQueue.cpp index 82df911..33b7dce 100644 --- a/src/JobQueue.cpp +++ b/src/JobQueue.cpp @@ -60,7 +60,7 @@ void WorkerThread::doJob() if (uf.getVersion() != EMC_UNKNOWN) { m_pQueue->Report(Job::eID_THREAD_MSG, wxString::Format(wxT("Job #%d: Current EnergyManager version: %s"), - m_ID, mapEmcVersion(uf.getVersion()))); + job.m_Arg.jobid, mapEmcVersion(uf.getVersion())), m_ID); } if (rv != UPDATE_OK) { diff --git a/src/UpdateGUI.cpp b/src/UpdateGUI.cpp index e46d634..af200dc 100644 --- a/src/UpdateGUI.cpp +++ b/src/UpdateGUI.cpp @@ -275,7 +275,7 @@ void UpdateGUIFrame::OnThread(wxCommandEvent& event) case Job::eID_THREAD_MSG: case Job::eID_THREAD_MSGOK: case Job::eID_THREAD_MSGERR: - wxs = wxString::Format(wxT("Thread [%i]: \"%s\""), event.GetInt(), event.GetString().c_str()); + wxs = wxString::Format(wxT("Thread [%i]: %s"), event.GetInt(), event.GetString().c_str()); switch (event.GetId()) { case Job::eID_THREAD_JOB: SetStatusText(wxs); break; |