1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-27 06:54:20 +00:00

Fix unicode support in torrent addition dialog title

This commit is contained in:
Christophe Dumez 2012-06-30 18:06:23 +03:00
parent 48f2b6fb66
commit 1204bf6e80

View File

@ -151,7 +151,7 @@ bool AddNewTorrentDialog::loadTorrent(const QString& torrent_path, const QString
}
// Set dialog title
setWindowTitle(misc::toQString(m_torrentInfo->name()));
setWindowTitle(misc::toQStringU(m_torrentInfo->name()));
// Set torrent information
QString comment = misc::toQString(m_torrentInfo->comment());