diff --git a/src/addnewtorrentdialog.cpp b/src/addnewtorrentdialog.cpp index e2a7a49b8..716d54e8d 100644 --- a/src/addnewtorrentdialog.cpp +++ b/src/addnewtorrentdialog.cpp @@ -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());