From 1204bf6e804b47f25e2408df128d3cb77a3b9ddd Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 30 Jun 2012 18:06:23 +0300 Subject: [PATCH] Fix unicode support in torrent addition dialog title --- src/addnewtorrentdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());