diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-09-05 02:53:07 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-12-17 18:33:13 +0100 |
commit | 410bf59de02192c2daf1158b9de76ec0ebab4c56 (patch) | |
tree | be010e92b862f169076de979796075c925c3e576 /shell/source/backends/desktopbe/desktopbackend.cxx | |
parent | 6a53832080cf201e960113de8e1887d99e857606 (diff) |
kde5: remove older kde/tde plugins, and references to that
KDE4 is out of maintenance upstream since Nov. 2014, and binaries
provided by TDF have switched to KDE5 as the official backend.
Change-Id: I165465b56d3ba3a18912b203c06ae8fc6111c0c9
Reviewed-on: https://gerrit.libreoffice.org/60014
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'shell/source/backends/desktopbe/desktopbackend.cxx')
-rw-r--r-- | shell/source/backends/desktopbe/desktopbackend.cxx | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/shell/source/backends/desktopbe/desktopbackend.cxx b/shell/source/backends/desktopbe/desktopbackend.cxx index 8cfaefc9f9c9..0860bcd421a1 100644 --- a/shell/source/backends/desktopbe/desktopbackend.cxx +++ b/shell/source/backends/desktopbe/desktopbackend.cxx @@ -296,20 +296,12 @@ css::uno::Reference< css::uno::XInterface > createInstance( current->getValueByName("system.desktop-environment") >>= desktop; } - OUString sTK = Application::GetToolkitName(); - // Fall back to the default if the specific backend is not available: css::uno::Reference< css::uno::XInterface > backend; - if ( desktop == "KDE4" ) { - if (!(sTK.startsWith("qt5") || sTK.startsWith("kde5"))) - backend = createBackend( - context, - "com.sun.star.configuration.backend.KDE4Backend"); - } else if ( desktop == "KDE5" ) { - if (!(sTK.startsWith("kde4"))) - backend = createBackend( - context, - "com.sun.star.configuration.backend.KDE5Backend"); + if ( desktop == "KDE5" ) { + backend = createBackend( + context, + "com.sun.star.configuration.backend.KDE5Backend"); } return backend.is() ? backend : static_cast< cppu::OWeakObject * >(new Default); |