<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 20, 2015 at 7:40 PM, Anton Lundin <span dir="ltr"><<a href="mailto:glance@acc.umu.se" target="_blank">glance@acc.umu.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Signed-off-by: Anton Lundin <<a href="mailto:glance@acc.umu.se">glance@acc.umu.se</a>><br>
---<br>
 configuredivecomputer.cpp             | 10 ++++++++++<br>
 configuredivecomputer.h               |  2 ++<br>
 qt-ui/configuredivecomputerdialog.cpp |  4 ++++<br>
 3 files changed, 16 insertions(+)<br>
<br>
diff --git a/configuredivecomputer.cpp b/configuredivecomputer.cpp<br>
index 4f7e873..ec69c77 100644<br>
--- a/configuredivecomputer.cpp<br>
+++ b/configuredivecomputer.cpp<br>
@@ -30,6 +30,7 @@ void ConfigureDiveComputer::readSettings(device_data_t *data)<br>
        connect(readThread, SIGNAL(error(QString)), this, SLOT(setError(QString)));<br>
        connect(readThread, SIGNAL(devicedetails(DeviceDetails *)), this,<br>
                SIGNAL(deviceDetailsChanged(DeviceDetails *)));<br>
+       connect(readThread, SIGNAL(progress(int)), this, SLOT(progressEvent(int)));<br></blockquote><div><br></div><div>Anton,<br></div></div><br></div><div class="gmail_extra">When you connect a signal that's emmited in another thread you should use the format<br></div><div class="gmail_extra">connect( sender, SIGNAL( signal()), receiver, SLOT( callback() ), Qt::QueuedConnection );<br><br></div><div class="gmail_extra">to make signaling thread safe.<br><br></div><div class="gmail_extra">T<br></div></div>