зеркало из https://github.com/nextcloud/desktop.git
add seemingly needed qml import path
will hopefuly make the qml engine search inside install dir within qml sub folder Close #7156 Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
Родитель
97d1cfb1d1
Коммит
92f7247bc6
|
@ -70,6 +70,7 @@ void Systray::setTrayEngine(QQmlApplicationEngine *trayEngine)
|
|||
|
||||
_trayEngine->setNetworkAccessManagerFactory(&_accessManagerFactory);
|
||||
|
||||
_trayEngine->addImportPath(QCoreApplication::applicationDirPath() + "/qml");
|
||||
_trayEngine->addImportPath("qrc:/qml/theme");
|
||||
_trayEngine->addImageProvider("avatars", new ImageProvider);
|
||||
_trayEngine->addImageProvider(QLatin1String("svgimage-custom-color"), new OCC::Ui::SvgImageProvider);
|
||||
|
|
Загрузка…
Ссылка в новой задаче