mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
parent
cc13f3e10d
commit
7a620c794d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue