Commit 55d9ffdc authored by Stephane Mankowski's avatar Stephane Mankowski

Change icon for trackers by a "crosshairs"

parent e76739a2
skrooge (2.23.0)
*Correction: Change icon for trackers by a "crosshairs"
-- Stephane MANKOWSKI <stephane@mankowski.fr> NotPlannedYet
skrooge (2.22.0)
......
......@@ -871,7 +871,7 @@ void SKGOperationPlugin::onOpenOperations()
wc += ')';
// Set icon
iconOpen = QStringLiteral("checkbox");
iconOpen = QStringLiteral("crosshairs");
view = QStringLiteral("v_suboperation_consolidated");
} else if (table == QStringLiteral("payee")) {
// Build whereclause and title
......
......@@ -83,7 +83,7 @@ QString SKGTrackerPlugin::title() const
QString SKGTrackerPlugin::icon() const
{
return QStringLiteral("checkbox");
return QStringLiteral("crosshairs");
}
QString SKGTrackerPlugin::toolTip() const
......
......@@ -2857,7 +2857,7 @@ QString SKGDocumentBank::getIconName(const QString& iString) const
if (att.endsWith(QLatin1String("t_refund")) ||
att.endsWith(QLatin1String("t_refunddisplay")) ||
att.endsWith(QLatin1String("t_realrefund"))) {
return QStringLiteral("checkbox");
return QStringLiteral("crosshairs");
}
if (att.endsWith(QLatin1String("t_mode"))) {
return QStringLiteral("skrooge_credit_card");
......@@ -2886,7 +2886,7 @@ QString SKGDocumentBank::getIconName(const QString& iString) const
return QStringLiteral("view-categories");
}
if (att.contains(QStringLiteral("v_refund"))) {
return QStringLiteral("checkbox");
return QStringLiteral("crosshairs");
}
if (att.contains(QStringLiteral("v_unit"))) {
return QStringLiteral("taxes-finances");
......
......@@ -1987,6 +1987,7 @@ QIcon SKGServices::fromTheme(const QString& iName, const QStringList& iOverlays)
alternatives[QStringLiteral("format-precision-less")] = QStringLiteral("visibility");
alternatives[QStringLiteral("format-indent-more")] = QStringLiteral("go-next");
alternatives[QStringLiteral("format-indent-less")] = QStringLiteral("go-previous");
alternatives[QStringLiteral("crosshairs")] = QStringLiteral("emblem-symbolic-link");
}
bool alternativeEmpty = false;
if (alternatives.contains(iName)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment