Commit f921d868 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Port from deprecated QtConcurent::Exception to QException

http://doc.qt.io/qt-5/qtconcurrent-obsolete.html#Exception-typedef
parent b95a36f5
......@@ -22,9 +22,9 @@
#include <QtCore>
#include <QtConcurrent>
#include <stdexcept>
#include <QException>
class KisAssertException : public std::runtime_error, public QtConcurrent::Exception
class KisAssertException : public std::runtime_error, public QException
{
public:
KisAssertException(const std::string& what_arg)
......@@ -32,7 +32,7 @@ public:
{
}
QtConcurrent::Exception* clone() const { return new KisAssertException(*this); }
QException* clone() const { return new KisAssertException(*this); }
void raise() const { throw *this; }
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment