Projects
Eulaceura:Factory
kiran-flameshot
_service:obs_scm:0000-fix-Specify-trayicon-as-t...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0000-fix-Specify-trayicon-as-the-icon-in-the-resource-fil.patch of Package kiran-flameshot
From e66ba013a3d58e47859f2ea2e81659667a82421e Mon Sep 17 00:00:00 2001 From: youzhengcai <youzhengcai@kylinsec.com.cn> Date: Mon, 15 Apr 2024 15:19:34 +0800 Subject: [PATCH] fix(*): Specify trayicon as the icon in the resource file, without using the theme icon. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 指定 trayicon 为资源文件中图标,不使用主题图标。防止部分系统有差异 #35052 --- src/core/controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/controller.cpp b/src/core/controller.cpp index 36abfbf..60e0228 100644 --- a/src/core/controller.cpp +++ b/src/core/controller.cpp @@ -254,7 +254,7 @@ void Controller::enableTrayIcon() { m_trayIcon = new QSystemTrayIcon(); m_trayIcon->setToolTip(tr("click to take screenshot")); m_trayIcon->setContextMenu(trayIconMenu); - QIcon trayicon = QIcon::fromTheme("flameshot-tray", QIcon(":img/app/kiran128x128.png")); + QIcon trayicon = QIcon(":img/app/kiran128x128.png"); m_trayIcon->setIcon(trayicon); connect(m_trayIcon,SIGNAL(activated(QSystemTrayIcon::ActivationReason)),this, SLOT(trayIconActivated(QSystemTrayIcon::ActivationReason))); -- 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