summaryrefslogtreecommitdiffstats
path: root/src/concurrent/qtconcurrentrunbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/concurrent/qtconcurrentrunbase.h')
-rw-r--r--src/concurrent/qtconcurrentrunbase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/concurrent/qtconcurrentrunbase.h b/src/concurrent/qtconcurrentrunbase.h
index c748d8e2b9..20267a2d5b 100644
--- a/src/concurrent/qtconcurrentrunbase.h
+++ b/src/concurrent/qtconcurrentrunbase.h
@@ -114,7 +114,7 @@ public:
} catch (QException &e) {
promise.reportException(e);
} catch (...) {
- promise.reportException(QUnhandledException());
+ promise.reportException(QUnhandledException(std::current_exception()));
}
#endif