Commit b05fa28d authored by Laurent Montel's avatar Laurent Montel 😁

We can compile with QT_NO_CAST_FROM_BYTEARRAY

parent cd0a50c3
remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY)
set(ktnef_SRCS
ktnefparser.cpp
......
......@@ -92,7 +92,7 @@ static struct save_tz set_tz(const char *_tc)
char *tz_env = nullptr;
const QByteArray tzEnv = qgetenv("TZ");
if (!tzEnv.isEmpty()) {
tz_env = qstrdup(tzEnv);
tz_env = qstrdup(tzEnv.constData());
rv.old_tz = tz_env;
}
char *tmp_env = (char *)malloc(strlen(tc) + 4);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment