mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-18 03:48:09 +00:00
Revert "feat(App): add an import qml path for plugins"
This reverts commit e7c60ca31f.
This commit is contained in:
parent
e7c60ca31f
commit
f72e25286e
1 changed files with 1 additions and 4 deletions
|
|
@ -142,7 +142,6 @@ inline void activeSplashScreen (QQmlApplicationEngine *engine) {
|
|||
|
||||
void App::initContentApp () {
|
||||
shared_ptr<linphone::Config> config = ::getConfigIfExists(*mParser);
|
||||
const QString pluginsPath = ::Utils::coreStringToAppString(Paths::getPluginsDirPath());
|
||||
|
||||
// Destroy qml components and linphone core if necessary.
|
||||
if (mEngine) {
|
||||
|
|
@ -168,7 +167,7 @@ void App::initContentApp () {
|
|||
});
|
||||
|
||||
// Add plugins directory.
|
||||
addLibraryPath(pluginsPath);
|
||||
addLibraryPath(::Utils::coreStringToAppString(Paths::getPluginsDirPath()));
|
||||
qInfo() << QStringLiteral("Library paths:") << libraryPaths();
|
||||
}
|
||||
|
||||
|
|
@ -186,8 +185,6 @@ void App::initContentApp () {
|
|||
mEngine->addImportPath(":/ui/modules");
|
||||
mEngine->addImportPath(":/ui/scripts");
|
||||
mEngine->addImportPath(":/ui/views");
|
||||
mEngine->addImportPath(pluginsPath);
|
||||
qInfo() << QStringLiteral("Engine import paths:") << mEngine->importPathList();
|
||||
|
||||
// Provide avatars/thumbnails providers.
|
||||
mEngine->addImageProvider(AvatarProvider::PROVIDER_ID, new AvatarProvider());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue