diff options
-rw-r--r-- | vcl/unx/generic/plugadapt/salplug.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/vcl/unx/generic/plugadapt/salplug.cxx b/vcl/unx/generic/plugadapt/salplug.cxx index b7ed29a22f5d..41039c0584f8 100644 --- a/vcl/unx/generic/plugadapt/salplug.cxx +++ b/vcl/unx/generic/plugadapt/salplug.cxx @@ -163,6 +163,9 @@ static SalInstance* autodetect_plugin() { static const char* const pKDEFallbackList[] = { +#if ENABLE_KDE5 + "kde5", +#endif #if ENABLE_GTK3_KDE5 "gtk3_kde5", #endif @@ -233,7 +236,7 @@ SalInstance *CreateSalInstance() // fallback, try everything static const char* const pPlugin[] = { - "gtk3", "gtk", "kde4", "kde", "tde", "gen" }; + "gtk3", "gtk", "kde5", "kde4", "kde", "tde", "gen" }; for ( int i = 0; !pInst && i != SAL_N_ELEMENTS(pPlugin); ++i ) pInst = tryInstance( OUString::createFromAscii( pPlugin[ i ] ) ); @@ -314,4 +317,4 @@ SalData::~SalData() COVERITY_NOEXCEPT_FALSE psp::PrinterInfoManager::release(); } -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file |