diff --git a/src/base/bittorrent/torrentimpl.cpp b/src/base/bittorrent/torrentimpl.cpp index 6819a2e99..83f133591 100644 --- a/src/base/bittorrent/torrentimpl.cpp +++ b/src/base/bittorrent/torrentimpl.cpp @@ -991,7 +991,7 @@ int TorrentImpl::queuePosition() const QString TorrentImpl::error() const { if (m_nativeStatus.errc) - return QString::fromStdString(m_nativeStatus.errc.message()); + return QString::fromLocal8Bit(m_nativeStatus.errc.message().c_str()); if (m_nativeStatus.flags & lt::torrent_flags::upload_mode) {