mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Use QSet<QString> instead of QStringList
This commit is contained in:
parent
ec8820ac64
commit
9616ee51b3
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ InputBar::updateTextContentProperties(const QString &t)
|
||||||
|
|
||||||
// check for invalid commands
|
// check for invalid commands
|
||||||
auto commandName = getCommandAndArgs().first;
|
auto commandName = getCommandAndArgs().first;
|
||||||
static const QStringList validCommands{QStringLiteral("me"),
|
static const QSet<QString> validCommands{QStringLiteral("me"),
|
||||||
QStringLiteral("react"),
|
QStringLiteral("react"),
|
||||||
QStringLiteral("join"),
|
QStringLiteral("join"),
|
||||||
QStringLiteral("knock"),
|
QStringLiteral("knock"),
|
||||||
|
|
Loading…
Reference in a new issue