Fixed a build issue on some Qt versions

This commit is contained in:
Matthias Koefferlein 2024-04-14 23:54:10 +02:00
parent 1e83df0a56
commit daa2df159e
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ HelpSource::initialize_index ()
bool ok = false;
QString help_index_cache_file = QString::fromUtf8 (tl::sprintf ("help-index-%s-qt%d.xml.gz", lay::Version::version (), int (QT_VERSION_MAJOR)));
QString help_index_cache_file = tl::to_qstring (tl::sprintf ("help-index-%s-qt%d.xml.gz", lay::Version::version (), int (QT_VERSION_MAJOR)));
std::string per_user_cache_file;
if (! lay::ApplicationBase::instance ()->appdata_path ().empty ()) {