Commit 31cf7123 authored by Halla Rempt's avatar Halla 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 ...@@ -31,7 +31,7 @@ struct CompositeOpModelInitializer
model.addEntries(KoCompositeOpRegistry::instance().getCompositeOps(), false, true); model.addEntries(KoCompositeOpRegistry::instance().getCompositeOps(), false, true);
model.expandAllCategories(false); model.expandAllCategories(false);
model.addCategory(KoID("favorites", i18n("Favorites"))); model.addCategory(KoID("favorites", i18n("Favorites")));
model.readFavriteCompositeOpsFromConfig(); model.readFavoriteCompositeOpsFromConfig();
model.expandCategory(KoID("favorites"), true); model.expandCategory(KoID("favorites"), true);
} }
...@@ -89,7 +89,7 @@ QVariant KisCompositeOpListModel::data(const QModelIndex& idx, int role) const ...@@ -89,7 +89,7 @@ QVariant KisCompositeOpListModel::data(const QModelIndex& idx, int role) const
return BaseClass::data(idx, role); return BaseClass::data(idx, role);
} }
void KisCompositeOpListModel::readFavriteCompositeOpsFromConfig() void KisCompositeOpListModel::readFavoriteCompositeOpsFromConfig()
{ {
KisConfig config; KisConfig config;
QStringList compositeOps = config.favoriteCompositeOps(); QStringList compositeOps = config.favoriteCompositeOps();
......
...@@ -40,7 +40,7 @@ public: ...@@ -40,7 +40,7 @@ public:
virtual QVariant data (const QModelIndex& idx, int role=Qt::DisplayRole) const; virtual QVariant data (const QModelIndex& idx, int role=Qt::DisplayRole) const;
void validateCompositeOps(const KoColorSpace* colorSpace); void validateCompositeOps(const KoColorSpace* colorSpace);
void readFavriteCompositeOpsFromConfig(); void readFavoriteCompositeOpsFromConfig();
void writeFavoriteCompositeOpsToConfig() const; 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