mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
(trunk qt) #2320: fix encoding issue when logging to stderr in the Qt client
This commit is contained in:
@@ -156,7 +156,7 @@ Utils :: speedToString( const Speed& speed )
|
||||
void
|
||||
Utils :: toStderr( const QString& str )
|
||||
{
|
||||
std::cerr << str.toLatin1().constData() << std::endl;
|
||||
std::cerr << qPrintable(str) << std::endl;
|
||||
}
|
||||
|
||||
const QIcon&
|
||||
|
||||
Reference in New Issue
Block a user