diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2023-03-01 18:01:02 -0500 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2023-03-01 18:01:02 -0500 |
commit | 9616ee51b3618838a93444733759e5697c75b371 (patch) | |
tree | 05e20590a2d030b26d1b4bbe9ce47fb0105e716c /src/timeline/InputBar.cpp | |
parent | Fix some nitpicks (diff) | |
download | nheko-9616ee51b3618838a93444733759e5697c75b371.tar.xz |
Use QSet<QString> instead of QStringList
Diffstat (limited to 'src/timeline/InputBar.cpp')
-rw-r--r-- | src/timeline/InputBar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp index 693fe789..b6c37fbc 100644 --- a/src/timeline/InputBar.cpp +++ b/src/timeline/InputBar.cpp @@ -253,7 +253,7 @@ InputBar::updateTextContentProperties(const QString &t) // check for invalid commands auto commandName = getCommandAndArgs().first; - static const QStringList validCommands{QStringLiteral("me"), + static const QSet<QString> validCommands{QStringLiteral("me"), QStringLiteral("react"), QStringLiteral("join"), QStringLiteral("knock"), |