(trunk qt) #2320: fix encoding issue when logging to stderr in the Qt client

This commit is contained in:
Charles Kerr
2009-08-08 13:22:38 +00:00
parent e9e956acba
commit edcd2dc41b

View File

@@ -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&