diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-01-24 22:56:52 +0100 |
---|---|---|
committer | Jan Mulder <jlmulder@xs4all.nl> | 2018-01-31 14:47:26 +0100 |
commit | f8f14c5edb43aafcc1d4c689af4a91d7274a4b82 (patch) | |
tree | 9ee428d5018eb5e8ad9feb404b64105541ca38df /core/errorhelper.c | |
parent | df81a39aa5d10fd12928a1bef7fdf31e0050e439 (diff) | |
download | subsurface-f8f14c5edb43aafcc1d4c689af4a91d7274a4b82.tar.gz |
Use error callback to log errors in QMLManager
Instead of manually logging errors after each potentially
error-producing function, use the error-callback. The error texts
are accumulated in the QMLManager object for further use.
The text is transported to the QMLManager object via a queued
connection. Thus, errors can be reported from other threads
without having to deal with manual locking.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/errorhelper.c')
0 files changed, 0 insertions, 0 deletions