mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2025-01-29 20:34:56 +01:00
Fixed an encoding issue occurring on Windows when Qt is compiled without STL compatibility
This commit is contained in:
parent
e62cea7210
commit
5e3a3b4ceb
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@
|
|||
// Convert to/from std::wstring
|
||||
#ifdef QT_NO_STL
|
||||
# include "encoding.h"
|
||||
# define qfw(s) qfl(convertToMb(s).c_str())
|
||||
# define qfw(s) QString::fromWCharArray(wstring(s).c_str())
|
||||
# define qtw(s) convertToWc(qtl(s))
|
||||
#else
|
||||
# define qfw(s) QString::fromStdWString(s)
|
||||
|
|
Loading…
Add table
Reference in a new issue