Show error message when Session failed to start

This commit is contained in:
Vladimir Golovnev (Glassez) 2018-11-29 17:25:38 +03:00
parent 9e00f08ea6
commit 89deccd9b5
No known key found for this signature in database
GPG key ID: 52A2C7DEE2DFA6F7
6 changed files with 41 additions and 36 deletions

View file

@ -30,11 +30,10 @@
RuntimeError::RuntimeError(const QString &message)
: std::runtime_error {message.toUtf8().data()}
, m_message {message}
{
}
QString RuntimeError::message() const
{
return m_message;
return what();
}