diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-02-06 10:37:31 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-02-06 13:23:54 +0000 |
| commit | 80f6d818e43d3ce2bd2d81f1bd3bbd4160c28aea (patch) | |
| tree | 93a13d96ca599e44ae32eb598a56c772643d9e00 /src/wx/job_view_dialog.h | |
| parent | d1711d4d91322c8559a1adbe53434a25b17b4f7e (diff) | |
Fix display of progress meter (and crash) when sending emails from the KDM
creator (#1045).
Diffstat (limited to 'src/wx/job_view_dialog.h')
| -rw-r--r-- | src/wx/job_view_dialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/job_view_dialog.h b/src/wx/job_view_dialog.h index ae22aba73..54a6c1636 100644 --- a/src/wx/job_view_dialog.h +++ b/src/wx/job_view_dialog.h @@ -20,6 +20,7 @@ #include "table_dialog.h" #include <boost/shared_ptr.hpp> +#include <boost/weak_ptr.hpp> class JobView; class Job; @@ -34,5 +35,6 @@ private: void periodic (); JobView* _view; + boost::weak_ptr<Job> _job; boost::shared_ptr<wxTimer> _timer; }; |
