Skip to content

Commit f466e4d

Browse files
committed
Fix naming
1 parent 91ac767 commit f466e4d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/framework/extensions/devtools/apidumpmodel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ static QString moduleFromPrefix(const QString& prefix)
9393
return module;
9494
}
9595

96-
bool ApiDumpModel::isAllowByType(const QString& module, ApiType type) const
96+
bool ApiDumpModel::isAllowedByType(const QString& module, ApiType type) const
9797
{
9898
#if 1
9999
return true;
@@ -209,7 +209,7 @@ void ApiDumpModel::update()
209209
} else {
210210
m_list.clear();
211211
for (const Item& item : m_allList) {
212-
if (!isAllowByType(item.module, m_apiType)) {
212+
if (!isAllowedByType(item.module, m_apiType)) {
213213
continue;
214214
}
215215

src/framework/extensions/devtools/apidumpmodel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class ApiDumpModel : public QAbstractListModel
7272
};
7373

7474
void update();
75-
bool isAllowByType(const QString& module, ApiType type) const;
75+
bool isAllowedByType(const QString& module, ApiType type) const;
7676

7777
QString makeWiki() const;
7878

0 commit comments

Comments
 (0)