-
-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Description
In order to make icons visible on dark background, it's necessary to modify code for loading icons, instead of:
_editIcon = QIcon(":/icons/layeredit");use something like:
_editIcon = QIcon::fromTheme("layer-edit", QIcon(":/icons/layeredit.svg"))In case the icon is not found in any of searched paths:
qDebug() << QIcon::themeSearchPaths();the fallback (current default) will be used. Later we can add support for QIcon::setThemeName().
Is it ok to submit PR with such change?
The same issue is present in LibreCAD 2.
Metadata
Metadata
Assignees
Labels
No labels