forked from pool/kinfocenter5
This commit is contained in:
parent
4d19e2af38
commit
3648b32e5d
@ -6,8 +6,8 @@ index 9e9dc9c..7a34520 100644
|
|||||||
QString Module::plasmaVersion() const
|
QString Module::plasmaVersion() const
|
||||||
{
|
{
|
||||||
const QStringList &filePaths = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation,
|
const QStringList &filePaths = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation,
|
||||||
- "xsessions/plasma.desktop");
|
- QStringLiteral("xsessions/plasma.desktop"));
|
||||||
+ "xsessions/plasma5.desktop");
|
+ QStringLiteral("xsessions/plasma5.desktop"));
|
||||||
|
|
||||||
if (filePaths.length() < 1) {
|
if (filePaths.length() < 1) {
|
||||||
return QString();
|
return QString();
|
||||||
|
Loading…
Reference in New Issue
Block a user