mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
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:
parent
8114caaffc
commit
653f8d0788
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ void Systray::setTrayEngine(QQmlApplicationEngine *trayEngine)
|
||||||
|
|
||||||
_trayEngine->setNetworkAccessManagerFactory(&_accessManagerFactory);
|
_trayEngine->setNetworkAccessManagerFactory(&_accessManagerFactory);
|
||||||
|
|
||||||
|
_trayEngine->addImportPath(QCoreApplication::applicationDirPath() + "/qml");
|
||||||
_trayEngine->addImportPath("qrc:/qml/theme");
|
_trayEngine->addImportPath("qrc:/qml/theme");
|
||||||
_trayEngine->addImageProvider("avatars", new ImageProvider);
|
_trayEngine->addImageProvider("avatars", new ImageProvider);
|
||||||
_trayEngine->addImageProvider(QLatin1String("svgimage-custom-color"), new OCC::Ui::SvgImageProvider);
|
_trayEngine->addImageProvider(QLatin1String("svgimage-custom-color"), new OCC::Ui::SvgImageProvider);
|
||||||
|
|
Loading…
Reference in a new issue