Commit 31cf7123 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Revert "Revert "Remove tabs and fix spelling error""

This reverts commit a772c8aa968e85b950d86659ef31020ef0dbd57a.

I shouldn't try to debug stuff during a busy conference.
parent 796c792e
......@@ -31,7 +31,7 @@ struct CompositeOpModelInitializer
model.addEntries(KoCompositeOpRegistry::instance().getCompositeOps(), false, true);
model.expandAllCategories(false);
model.addCategory(KoID("favorites", i18n("Favorites")));
model.readFavriteCompositeOpsFromConfig();
model.readFavoriteCompositeOpsFromConfig();
model.expandCategory(KoID("favorites"), true);
}
......@@ -89,7 +89,7 @@ QVariant KisCompositeOpListModel::data(const QModelIndex& idx, int role) const
return BaseClass::data(idx, role);
}
void KisCompositeOpListModel::readFavriteCompositeOpsFromConfig()
void KisCompositeOpListModel::readFavoriteCompositeOpsFromConfig()
{
KisConfig config;
QStringList compositeOps = config.favoriteCompositeOps();
......
......@@ -40,7 +40,7 @@ public:
virtual QVariant data (const QModelIndex& idx, int role=Qt::DisplayRole) const;
void validateCompositeOps(const KoColorSpace* colorSpace);
void readFavriteCompositeOpsFromConfig();
void readFavoriteCompositeOpsFromConfig();
void writeFavoriteCompositeOpsToConfig() const;
};
......
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