Code Monkey home page Code Monkey logo

Comments (6)

kaniol-lck avatar kaniol-lck commented on July 30, 2024

奇怪,看起来是所有主题图标都没有显示出来,linux系统会使用系统主题,而其他系统才会使用程序自带的图标主题:https://github.com/kaniol-lck/modmanager/blob/master/src/main.cpp#L23-L25

尝试切换一下成其他图标主题看看是否还会出现这个问题:系统设置 > 外观 > 图标

from modmanager.

Trumeet avatar Trumeet commented on July 30, 2024

@kaniol-lck

看代码好像是 Hard code 为 KDE Breeze 主题了: QIcon::setThemeName("breeze-modmanager"); ?我没有装 KDE 也没有装 Breeze 主题 所以不知道是不是这个原因(我不懂 Qt 开发所以可能不太对)

以及没有用 KDE 所以没有 系统设置 > 外观 > 图标

不过我随手找了个配置工具(qt5ct)看了一下,好像是 Adwaita?

image

from modmanager.

kaniol-lck avatar kaniol-lck commented on July 30, 2024

qt5-base 5.15.2+kde+r260-1

我以为你使用的是kde

看代码好像是 Hard code 为 KDE Breeze 主题了: QIcon::setThemeName("breeze-modmanager"); ?我没有装 KDE 也没有装 Breeze 主题 所以不知道是不是这个原因(我不懂 Qt 开发所以可能不太对)

反了,是非Linux系统环境才设置为主题,我是假定linux的桌面环境下应该都有合适的可调用的图标主题,所以在linux下没有设置为“breeze-modmanager”(程序自带的主题)

这么看来你使用的图标主题并不支持这些图标,或者调用不到此处设置的主题,看来我应该将图标主题设置为可设置项而非预定义项

from modmanager.

Trumeet avatar Trumeet commented on July 30, 2024

qt5-base 5.15.2+kde+r260-1

我以为你使用的是kde

啊 不好意思,这只是 Arch Repo Qt5 的一个版本号(说实话我也觉得很奇怪

看代码好像是 Hard code 为 KDE Breeze 主题了: QIcon::setThemeName("breeze-modmanager"); ?我没有装 KDE 也没有装 Breeze 主题 所以不知道是不是这个原因(我不懂 Qt 开发所以可能不太对)

反了,是非Linux系统环境才设置为主题,我是假定linux的桌面环境下应该都有合适的可调用的图标主题,所以在linux下没有设置为“breeze-modmanager”(程序自带的主题)

啊... ifndef,抱歉眼花了。

这么看来你使用的图标主题并不支持这些图标,或者调用不到此处设置的主题,看来我应该将图标主题设置为可设置项而非预定义项

嗯,其实提供一个设置项会更好。

from modmanager.

kaniol-lck avatar kaniol-lck commented on July 30, 2024

尝试一下最新构建 7c02679

from modmanager.

Trumeet avatar Trumeet commented on July 30, 2024

尝试一下最新构建 7c02679

感谢作者,这次工作了。

from modmanager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.