Projects
Eulaceura:Mainline
kiran-session-guard
_service:obs_scm:0010-fix-scale-Fix-the-issue-o...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0010-fix-scale-Fix-the-issue-of-manual-scaling-not-taking.patch of Package kiran-session-guard
From c0759f25c4ebf2ed76ccd602458ea24817a4f0a3 Mon Sep 17 00:00:00 2001 From: liuxinhao <liuxinhao@kylinsec.com.cn> Date: Tue, 9 Jan 2024 11:45:00 +0800 Subject: [PATCH 10/10] fix(scale): Fix the issue of manual scaling not taking effect MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将设置缩放率代码提前至Application构造前 Closes #25011 --- src/lightdm-greeter/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lightdm-greeter/main.cpp b/src/lightdm-greeter/main.cpp index 49911d6..61255ec 100644 --- a/src/lightdm-greeter/main.cpp +++ b/src/lightdm-greeter/main.cpp @@ -119,13 +119,13 @@ int main(int argc, char* argv[]) qWarning() << "init kiran-log failed"; } - QApplication app(argc, argv); - QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); - Prefs::globalInit(); auto prefs = Prefs::getInstance(); - adjustScaleFactor(prefs); + + QApplication app(argc, argv); + QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); + setCursor(prefs); loadTranslator(); loadStyleSheet(); -- 2.27.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2