mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 04:54:18 +00:00
parent
cc13f3e10d
commit
7a620c794d
@ -991,7 +991,7 @@ int TorrentImpl::queuePosition() const
|
|||||||
QString TorrentImpl::error() const
|
QString TorrentImpl::error() const
|
||||||
{
|
{
|
||||||
if (m_nativeStatus.errc)
|
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)
|
if (m_nativeStatus.flags & lt::torrent_flags::upload_mode)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user