26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
From 89d0bb88180c42c7ffd33fac9ff72260f930fcb0 Mon Sep 17 00:00:00 2001
|
|
From: myshow <296570182@qq.com>
|
|
Date: Tue, 8 Dec 2020 17:57:26 +0800
|
|
Subject: [PATCH 2/2] fix-ukui-greeter-desktop-option-issue
|
|
|
|
---
|
|
ukui-greeter/greeter/sessionwindow.cpp | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/ukui-greeter/greeter/sessionwindow.cpp b/ukui-greeter/greeter/sessionwindow.cpp
|
|
index 4940003..8f63355 100644
|
|
--- a/ukui-greeter/greeter/sessionwindow.cpp
|
|
+++ b/ukui-greeter/greeter/sessionwindow.cpp
|
|
@@ -69,6 +69,8 @@ void SessionWindow::addSessionLabels()
|
|
for(int i = 0; i < m_sessionsModel->rowCount(); i++) {
|
|
QString sessionName = m_sessionsModel->index(i, 0).data().toString();
|
|
QString sessionKey = m_sessionsModel->index(i, 0).data(Qt::UserRole).toString();
|
|
+ if(sessionKey == "xinit-compat")
|
|
+ continue;
|
|
QAction *action = new QAction(QIcon(getSessionIcon(sessionKey)), sessionName, this);
|
|
action->setData(sessionKey);
|
|
addAction(action);
|
|
--
|
|
2.29.2.windows.2
|
|
|