mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-09-30 04:11:32 +02:00
u_setDataDirectory expects const * char.
--HG-- branch : develop
This commit is contained in:
parent
002f86b1a8
commit
1d28dd5be9
|
@ -355,7 +355,7 @@ void VAbstractApplication::SetICUData(int &argc, char **argv)
|
||||||
* to documentation we can either use ICU_DATA environment variable or the function u_setDataDirectory().
|
* to documentation we can either use ICU_DATA environment variable or the function u_setDataDirectory().
|
||||||
*/
|
*/
|
||||||
const QString appDirPath = QFileInfo(ApplicationFilePath(argc, argv)).path();
|
const QString appDirPath = QFileInfo(ApplicationFilePath(argc, argv)).path();
|
||||||
u_setDataDirectory(QString(appDirPath + QStringLiteral("/../share/icu")).toUtf8());
|
u_setDataDirectory(QString(appDirPath + QStringLiteral("/../share/icu")).toUtf8().constData());
|
||||||
}
|
}
|
||||||
#endif // defined(Q_OS_LINUX)
|
#endif // defined(Q_OS_LINUX)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue