mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 05:31:25 -07:00
Show error message when Session failed to start
This commit is contained in:
parent
9e00f08ea6
commit
89deccd9b5
6 changed files with 41 additions and 36 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue