qmlpuppet: Fix function linkage

Putting static functions into a header file causes warnings in all cpp
files that include the header and don't use the function.

Change-Id: I9147c034092515e486dc6113a1b053f4d8094686
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Christian Kandeler
2020-06-15 13:53:39 +02:00
parent e98dfe4d14
commit fcef4709bb

View File

@@ -57,7 +57,7 @@ QList<T>toList(const QSet<T> &set)
#ifndef MULTILANGUAGE_TRANSLATIONPROVIDER
namespace MultiLanguage {
static QByteArray databaseFilePath()
inline QByteArray databaseFilePath()
{
return {};
}