summaryrefslogtreecommitdiffstats
path: root/src/concurrent/qtconcurrentthreadengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/concurrent/qtconcurrentthreadengine.cpp')
-rw-r--r--src/concurrent/qtconcurrentthreadengine.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/concurrent/qtconcurrentthreadengine.cpp b/src/concurrent/qtconcurrentthreadengine.cpp
index 886fb09ea6..56592965fd 100644
--- a/src/concurrent/qtconcurrentthreadengine.cpp
+++ b/src/concurrent/qtconcurrentthreadengine.cpp
@@ -155,10 +155,10 @@ void ThreadEngineBase::startBlocking()
}
}
#ifndef QT_NO_EXCEPTIONS
- } catch (QtConcurrent::Exception &e) {
+ } catch (QException &e) {
handleException(e);
} catch (...) {
- handleException(QtConcurrent::UnhandledException());
+ handleException(QUnhandledException());
}
#endif
@@ -271,10 +271,10 @@ void ThreadEngineBase::run() // implements QRunnable.
}
#ifndef QT_NO_EXCEPTIONS
- } catch (QtConcurrent::Exception &e) {
+ } catch (QException &e) {
handleException(e);
} catch (...) {
- handleException(QtConcurrent::UnhandledException());
+ handleException(QUnhandledException());
}
#endif
threadExit();
@@ -282,7 +282,7 @@ void ThreadEngineBase::run() // implements QRunnable.
#ifndef QT_NO_EXCEPTIONS
-void ThreadEngineBase::handleException(const QtConcurrent::Exception &exception)
+void ThreadEngineBase::handleException(const QException &exception)
{
if (futureInterface)
futureInterface->reportException(exception);