summary refs log tree commit diff
path: root/src/timeline/InputBar.cpp
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2023-03-01 18:01:02 -0500
committerLoren Burkholder <computersemiexpert@outlook.com>2023-03-01 18:01:02 -0500
commit9616ee51b3618838a93444733759e5697c75b371 (patch)
tree05e20590a2d030b26d1b4bbe9ce47fb0105e716c /src/timeline/InputBar.cpp
parentFix some nitpicks (diff)
downloadnheko-9616ee51b3618838a93444733759e5697c75b371.tar.xz
Use QSet<QString> instead of QStringList
Diffstat (limited to 'src/timeline/InputBar.cpp')
-rw-r--r--src/timeline/InputBar.cpp2
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"),