1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-01 01:47:23 +03:00

fix "favorite" icon name typo

--this way favorite icon is always used
properly because it is shown from Breeze icon
theme if current icon theme does not
provide it
This commit is contained in:
Michail Vourlakos 2021-07-17 15:26:40 +03:00
parent 5486730a00
commit 1879cc87a2
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ void LayoutName::paint(QPainter *painter, const QStyleOptionViewItem &option, co
if (isConsideredActive) {
remainedrect = Latte::remainedFromIcon(myOptions, Qt::AlignRight, -1, 1);
Latte::drawIcon(painter, myOptions, "favorites", Qt::AlignRight, -1, 1);
Latte::drawIcon(painter, myOptions, "favorite", Qt::AlignRight, -1, 1);
myOptions.rect = remainedrect;
}

View File

@ -84,7 +84,7 @@ PlasmaComponents.Page {
screensCount = universalSettings.screens.length;
screensModel.clear();
var primary = {name: i18n("Follow Primary Screen"), icon: 'favorites'};
var primary = {name: i18n("Follow Primary Screen"), icon: 'favorite'};
screensModel.append(primary);
//check if the screen exists, it is used in cases Latte is moving