summaryrefslogtreecommitdiff
path: root/Userland/Applications/KeyboardSettings
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-04-29 21:46:15 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-29 22:16:18 +0200
commit7ae7170d6140f7cad730f05f84b53437058b82f4 (patch)
tree79caaefa15a1e4ae1c60def7a40425983206c281 /Userland/Applications/KeyboardSettings
parentdef1f1444aeee2caf6d47d0eb96a18ffc476c3f9 (diff)
downloadserenity-7ae7170d6140f7cad730f05f84b53437058b82f4.zip
Everywhere: "file name" => "filename"
Diffstat (limited to 'Userland/Applications/KeyboardSettings')
-rw-r--r--Userland/Applications/KeyboardSettings/CharacterMapFileListModel.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Userland/Applications/KeyboardSettings/CharacterMapFileListModel.h b/Userland/Applications/KeyboardSettings/CharacterMapFileListModel.h
index d0585e1c46..2dc6f3df04 100644
--- a/Userland/Applications/KeyboardSettings/CharacterMapFileListModel.h
+++ b/Userland/Applications/KeyboardSettings/CharacterMapFileListModel.h
@@ -11,16 +11,16 @@
class CharacterMapFileListModel final : public GUI::Model {
public:
- static NonnullRefPtr<CharacterMapFileListModel> create(Vector<String>& file_names)
+ static NonnullRefPtr<CharacterMapFileListModel> create(Vector<String>& filenames)
{
- return adopt_ref(*new CharacterMapFileListModel(file_names));
+ return adopt_ref(*new CharacterMapFileListModel(filenames));
}
virtual ~CharacterMapFileListModel() override { }
virtual int row_count(const GUI::ModelIndex&) const override
{
- return m_file_names.size();
+ return m_filenames.size();
}
virtual int column_count(const GUI::ModelIndex&) const override
@@ -34,7 +34,7 @@ public:
VERIFY(index.column() == 0);
if (role == GUI::ModelRole::Display)
- return m_file_names.at(index.row());
+ return m_filenames.at(index.row());
return {};
}
@@ -45,10 +45,10 @@ public:
}
private:
- explicit CharacterMapFileListModel(Vector<String>& file_names)
- : m_file_names(file_names)
+ explicit CharacterMapFileListModel(Vector<String>& filenames)
+ : m_filenames(filenames)
{
}
- Vector<String>& m_file_names;
+ Vector<String>& m_filenames;
};