mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 05:49:53 +08:00
fix/add_custom_icons (#2167)
This commit is contained in:
parent
1318427bb7
commit
82ec6beeb5
@ -22,7 +22,7 @@ QIcon IconUtils::fetchIcon(const QString &p_iconFile,
|
||||
{
|
||||
const auto suffix = QFileInfo(p_iconFile).suffix().toLower().toStdString();
|
||||
if ((p_overriddenColors.isEmpty() || suffix != "svg")
|
||||
&& !VNoteX::getInst().getThemeMgr().getIconMonochrome()) {
|
||||
&& VNoteX::getInst().getThemeMgr().getIconMonochrome()) {
|
||||
return QIcon(p_iconFile);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user