mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2025-02-06 08:48:21 +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
|
// Convert to/from std::wstring
|
||||||
#ifdef QT_NO_STL
|
#ifdef QT_NO_STL
|
||||||
# include "encoding.h"
|
# 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))
|
# define qtw(s) convertToWc(qtl(s))
|
||||||
#else
|
#else
|
||||||
# define qfw(s) QString::fromStdWString(s)
|
# define qfw(s) QString::fromStdWString(s)
|
||||||
|
|
Loading…
Add table
Reference in a new issue