We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fdc2b6 commit 33a4d44Copy full SHA for 33a4d44
panel/lxqtpanelapplication.cpp
@@ -104,8 +104,13 @@ QString findBestBackend()
104
for(const QString& dir : std::as_const(dirs))
105
{
106
QDir backendsDir(dir);
107
- backendsDir.cd(QLatin1String("backend"));
108
+ if ( QFile::exists( dir + QStringLiteral("/backend") ) )
109
+ {
110
+ backendsDir.cd(QLatin1String("backend"));
111
+ }
112
+
113
+ backendsDir.setNameFilters({QLatin1String("libwmbackend_*.so")});
114
const auto entryList = backendsDir.entryList(QDir::Files);
115
for(const QString& fileName : entryList)
116
0 commit comments