Use QSet<QString> instead of QStringList

pull/1388/head
Loren Burkholder 2 years ago
parent ec8820ac64
commit 9616ee51b3
  1. 2
      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"),

Loading…
Cancel
Save