mirror of https://github.com/procxx/kepka.git
Revert the qstr definition to be compiled with Qt 5.9
This commit is contained in:
parent
6ddd55a28a
commit
001068cb2c
|
@ -54,4 +54,4 @@ void as_const(const T&&) = delete;
|
|||
#include <cstdint>
|
||||
|
||||
#define qsl(s) QStringLiteral(s)
|
||||
#define qstr(s) QLatin1String(s, s + sizeof(s))
|
||||
#define qstr(s) QLatin1String(s, static_cast<int>(sizeof(s)-1))
|
||||
|
|
Loading…
Reference in New Issue